# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # devel/onetbb # devel/onetbb/distinfo # devel/onetbb/Makefile # devel/onetbb/pkg-descr # devel/onetbb/files # devel/onetbb/files/patch-test-tbbmalloc-test_malloc_compliance.cpp # devel/onetbb/files/patch-test-common-memory_usage.h # devel/onetbb/files/onetbb.pc.in # devel/onetbb/files/patch-src-tbbbind-CMakeLists.txt # devel/onetbb/pkg-plist # echo c - devel/onetbb mkdir -p devel/onetbb > /dev/null 2>&1 echo x - devel/onetbb/distinfo sed 's/^X//' >devel/onetbb/distinfo << 'da52be72942f299d322a0d6eee48f93c' XTIMESTAMP = 1608578552 XSHA256 (oneapi-src-oneTBB-v2021.1.1_GH0.tar.gz) = b182c73caaaabc44ddc5ad13113aca7e453af73c1690e4061f71dfe4935d74e8 XSIZE (oneapi-src-oneTBB-v2021.1.1_GH0.tar.gz) = 1062960 da52be72942f299d322a0d6eee48f93c echo x - devel/onetbb/Makefile sed 's/^X//' >devel/onetbb/Makefile << '88b0d84195298d96698fa581a7f3ebd3' X# $FreeBSD$ X XPORTNAME= onetbb XPORTVERSION= 2021.1.1 XDISTVERSIONPREFIX= v XCATEGORIES= devel X XMAINTAINER= martymac@FreeBSD.org XCOMMENT= Library that provides thread building blocks X XLICENSE= APACHE20 X XONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le powerpcspe XONLY_FOR_ARCHS_REASON= has not been ported to this platform X XLIB_DEPENDS= libhwloc.so:devel/hwloc2 X XUSES= cmake:noninja tar:tgz X XCONFLICTS= tbb-[0-9]* X XUSE_GITHUB= yes XGH_ACCOUNT= oneapi-src XGH_PROJECT= oneTBB X XSUB_FILES= onetbb.pc XSUB_LIST= prefix="${PREFIX}" \ X name="${PORTNAME}" \ X description="${COMMENT}" \ X version="${PORTVERSION}" X XUSE_LDCONFIG= yes XMAKE_JOBS_UNSAFE= yes X X.include X Xpost-install: X ${INSTALL_DATA} ${WRKDIR}/onetbb.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig X X.include 88b0d84195298d96698fa581a7f3ebd3 echo x - devel/onetbb/pkg-descr sed 's/^X//' >devel/onetbb/pkg-descr << 'e6f5834670c96a9341f281165672f6d3' XoneAPI Threading Building Blocks (oneTBB) lets you easily write parallel C++ Xprograms that take full advantage of multicore performance, that are portable, Xcomposable and have future-proof scalability. X XWWW: https://software.intel.com/oneapi/onetbb e6f5834670c96a9341f281165672f6d3 echo c - devel/onetbb/files mkdir -p devel/onetbb/files > /dev/null 2>&1 echo x - devel/onetbb/files/patch-test-tbbmalloc-test_malloc_compliance.cpp sed 's/^X//' >devel/onetbb/files/patch-test-tbbmalloc-test_malloc_compliance.cpp << '20dbfc8681ed5262fcab536c64758c3e' Xerror: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'rlim_t' (aka 'long') X X--- test/tbbmalloc/test_malloc_compliance.cpp.orig 2020-12-08 11:00:57 UTC X+++ test/tbbmalloc/test_malloc_compliance.cpp X@@ -91,7 +91,7 @@ void limitMem( size_t limit ) X } X if (rlim.rlim_max==(rlim_t)RLIM_INFINITY) X rlim.rlim_cur = (limit > 0) ? limit*MByte : rlim.rlim_max; X- else rlim.rlim_cur = (limit > 0 && limit 0 && limit<(size_t)rlim.rlim_max) ? limit*MByte : rlim.rlim_max; X ret = setrlimit(RLIMIT_AS,&rlim); X if (0 != ret) { X REPORT("Can't set limits: errno %d\n", errno); 20dbfc8681ed5262fcab536c64758c3e echo x - devel/onetbb/files/patch-test-common-memory_usage.h sed 's/^X//' >devel/onetbb/files/patch-test-common-memory_usage.h << 'ac333c22a07d90f3e828b3480178d726' X--- test/common/memory_usage.h.orig 2020-12-08 11:00:57 UTC X+++ test/common/memory_usage.h X@@ -119,7 +119,8 @@ namespace utils { X ASSERT(status == KERN_SUCCESS, NULL); X return info.virtual_size - shared_size; X #else X- return 0; X+ // Use stat var to work around unused parameter error X+ return stat == currentUsage ? 0 : 0; X #endif X } X ac333c22a07d90f3e828b3480178d726 echo x - devel/onetbb/files/onetbb.pc.in sed 's/^X//' >devel/onetbb/files/onetbb.pc.in << 'b7ae3aee830c680de2d6da4c043725a4' Xprefix=%%prefix%% Xexec_prefix=${prefix} Xlibdir=${exec_prefix}/lib Xincludedir=${prefix}/include X XName: %%name%% XDescription: %%description%% XVersion: %%version%% XLibs: -L${libdir} -ltbb XCflags: -I${includedir} b7ae3aee830c680de2d6da4c043725a4 echo x - devel/onetbb/files/patch-src-tbbbind-CMakeLists.txt sed 's/^X//' >devel/onetbb/files/patch-src-tbbbind-CMakeLists.txt << 'dc737d5dba0a99ce9f2a308efb1a44dd' XDisable legacy hwloc lookup X X--- src/tbbbind/CMakeLists.txt.orig 2020-12-08 11:00:57 UTC X+++ src/tbbbind/CMakeLists.txt X@@ -82,5 +82,5 @@ macro(tbbbind_build TBBBIND_NAME HWLOC_VERSION) X endmacro() X X message(STATUS "Trying to find HWLOC (versions 2 and 1.11) to build TBBBind library") X-tbbbind_build(tbbbind 1.11) X+#tbbbind_build(tbbbind 1.11) X tbbbind_build(tbbbind_2_0 2) dc737d5dba0a99ce9f2a308efb1a44dd echo x - devel/onetbb/pkg-plist sed 's/^X//' >devel/onetbb/pkg-plist << '903778d396c42dde461d568b41f19b51' Xinclude/oneapi/tbb.h Xinclude/oneapi/tbb/blocked_range.h Xinclude/oneapi/tbb/blocked_range2d.h Xinclude/oneapi/tbb/blocked_range3d.h Xinclude/oneapi/tbb/blocked_rangeNd.h Xinclude/oneapi/tbb/cache_aligned_allocator.h Xinclude/oneapi/tbb/combinable.h Xinclude/oneapi/tbb/concurrent_hash_map.h Xinclude/oneapi/tbb/concurrent_lru_cache.h Xinclude/oneapi/tbb/concurrent_map.h Xinclude/oneapi/tbb/concurrent_priority_queue.h Xinclude/oneapi/tbb/concurrent_queue.h Xinclude/oneapi/tbb/concurrent_set.h Xinclude/oneapi/tbb/concurrent_unordered_map.h Xinclude/oneapi/tbb/concurrent_unordered_set.h Xinclude/oneapi/tbb/concurrent_vector.h Xinclude/oneapi/tbb/detail/_aggregator.h Xinclude/oneapi/tbb/detail/_aligned_space.h Xinclude/oneapi/tbb/detail/_allocator_traits.h Xinclude/oneapi/tbb/detail/_assert.h Xinclude/oneapi/tbb/detail/_concurrent_queue_base.h Xinclude/oneapi/tbb/detail/_concurrent_skip_list.h Xinclude/oneapi/tbb/detail/_concurrent_unordered_base.h Xinclude/oneapi/tbb/detail/_config.h Xinclude/oneapi/tbb/detail/_containers_helpers.h Xinclude/oneapi/tbb/detail/_exception.h Xinclude/oneapi/tbb/detail/_flow_graph_body_impl.h Xinclude/oneapi/tbb/detail/_flow_graph_cache_impl.h Xinclude/oneapi/tbb/detail/_flow_graph_impl.h Xinclude/oneapi/tbb/detail/_flow_graph_indexer_impl.h Xinclude/oneapi/tbb/detail/_flow_graph_item_buffer_impl.h Xinclude/oneapi/tbb/detail/_flow_graph_join_impl.h Xinclude/oneapi/tbb/detail/_flow_graph_node_impl.h Xinclude/oneapi/tbb/detail/_flow_graph_node_set_impl.h Xinclude/oneapi/tbb/detail/_flow_graph_nodes_deduction.h Xinclude/oneapi/tbb/detail/_flow_graph_tagged_buffer_impl.h Xinclude/oneapi/tbb/detail/_flow_graph_trace_impl.h Xinclude/oneapi/tbb/detail/_flow_graph_types_impl.h Xinclude/oneapi/tbb/detail/_hash_compare.h Xinclude/oneapi/tbb/detail/_machine.h Xinclude/oneapi/tbb/detail/_namespace_injection.h Xinclude/oneapi/tbb/detail/_node_handle.h Xinclude/oneapi/tbb/detail/_pipeline_filters.h Xinclude/oneapi/tbb/detail/_pipeline_filters_deduction.h Xinclude/oneapi/tbb/detail/_range_common.h Xinclude/oneapi/tbb/detail/_rtm_mutex.h Xinclude/oneapi/tbb/detail/_rtm_rw_mutex.h Xinclude/oneapi/tbb/detail/_segment_table.h Xinclude/oneapi/tbb/detail/_small_object_pool.h Xinclude/oneapi/tbb/detail/_string_resource.h Xinclude/oneapi/tbb/detail/_task.h Xinclude/oneapi/tbb/detail/_template_helpers.h Xinclude/oneapi/tbb/detail/_utils.h Xinclude/oneapi/tbb/enumerable_thread_specific.h Xinclude/oneapi/tbb/flow_graph.h Xinclude/oneapi/tbb/flow_graph_abstractions.h Xinclude/oneapi/tbb/global_control.h Xinclude/oneapi/tbb/info.h Xinclude/oneapi/tbb/memory_pool.h Xinclude/oneapi/tbb/null_mutex.h Xinclude/oneapi/tbb/null_rw_mutex.h Xinclude/oneapi/tbb/parallel_for.h Xinclude/oneapi/tbb/parallel_for_each.h Xinclude/oneapi/tbb/parallel_invoke.h Xinclude/oneapi/tbb/parallel_pipeline.h Xinclude/oneapi/tbb/parallel_reduce.h Xinclude/oneapi/tbb/parallel_scan.h Xinclude/oneapi/tbb/parallel_sort.h Xinclude/oneapi/tbb/partitioner.h Xinclude/oneapi/tbb/profiling.h Xinclude/oneapi/tbb/queuing_mutex.h Xinclude/oneapi/tbb/queuing_rw_mutex.h Xinclude/oneapi/tbb/scalable_allocator.h Xinclude/oneapi/tbb/spin_mutex.h Xinclude/oneapi/tbb/spin_rw_mutex.h Xinclude/oneapi/tbb/task.h Xinclude/oneapi/tbb/task_arena.h Xinclude/oneapi/tbb/task_group.h Xinclude/oneapi/tbb/task_scheduler_observer.h Xinclude/oneapi/tbb/tbb_allocator.h Xinclude/oneapi/tbb/tbbmalloc_proxy.h Xinclude/oneapi/tbb/tick_count.h Xinclude/oneapi/tbb/version.h Xinclude/tbb/blocked_range.h Xinclude/tbb/blocked_range2d.h Xinclude/tbb/blocked_range3d.h Xinclude/tbb/blocked_rangeNd.h Xinclude/tbb/cache_aligned_allocator.h Xinclude/tbb/combinable.h Xinclude/tbb/concurrent_hash_map.h Xinclude/tbb/concurrent_lru_cache.h Xinclude/tbb/concurrent_map.h Xinclude/tbb/concurrent_priority_queue.h Xinclude/tbb/concurrent_queue.h Xinclude/tbb/concurrent_set.h Xinclude/tbb/concurrent_unordered_map.h Xinclude/tbb/concurrent_unordered_set.h Xinclude/tbb/concurrent_vector.h Xinclude/tbb/enumerable_thread_specific.h Xinclude/tbb/flow_graph.h Xinclude/tbb/flow_graph_abstractions.h Xinclude/tbb/global_control.h Xinclude/tbb/info.h Xinclude/tbb/memory_pool.h Xinclude/tbb/null_mutex.h Xinclude/tbb/null_rw_mutex.h Xinclude/tbb/parallel_for.h Xinclude/tbb/parallel_for_each.h Xinclude/tbb/parallel_invoke.h Xinclude/tbb/parallel_pipeline.h Xinclude/tbb/parallel_reduce.h Xinclude/tbb/parallel_scan.h Xinclude/tbb/parallel_sort.h Xinclude/tbb/partitioner.h Xinclude/tbb/profiling.h Xinclude/tbb/queuing_mutex.h Xinclude/tbb/queuing_rw_mutex.h Xinclude/tbb/scalable_allocator.h Xinclude/tbb/spin_mutex.h Xinclude/tbb/spin_rw_mutex.h Xinclude/tbb/task.h Xinclude/tbb/task_arena.h Xinclude/tbb/task_group.h Xinclude/tbb/task_scheduler_observer.h Xinclude/tbb/tbb.h Xinclude/tbb/tbb_allocator.h Xinclude/tbb/tbbmalloc_proxy.h Xinclude/tbb/tick_count.h Xinclude/tbb/version.h Xlib/cmake/TBB/TBBConfig.cmake Xlib/cmake/TBB/TBBConfigVersion.cmake Xlib/cmake/TBB/TBBTargets-%%CMAKE_BUILD_TYPE%%.cmake Xlib/cmake/TBB/TBBTargets.cmake Xlib/libtbb.so Xlib/libtbb.so.12 Xlib/libtbb.so.12.1 Xlib/libtbbbind_2_0.so Xlib/libtbbbind_2_0.so.3 Xlib/libtbbbind_2_0.so.3.1 Xlib/libtbbmalloc.so Xlib/libtbbmalloc.so.2 Xlib/libtbbmalloc.so.2.1 Xlib/libtbbmalloc_proxy.so Xlib/libtbbmalloc_proxy.so.2 Xlib/libtbbmalloc_proxy.so.2.1 Xlibdata/pkgconfig/onetbb.pc 903778d396c42dde461d568b41f19b51 exit