From owner-dev-commits-ports-all@freebsd.org Fri Jul 9 11:07:26 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CF6BB65DE9B; Fri, 9 Jul 2021 11:07:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GLr3L54qCz4f7Q; Fri, 9 Jul 2021 11:07:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 88A9513617; Fri, 9 Jul 2021 11:07:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 169B7QX4077470; Fri, 9 Jul 2021 11:07:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 169B7Q2Z077469; Fri, 9 Jul 2021 11:07:26 GMT (envelope-from git) Date: Fri, 9 Jul 2021 11:07:26 GMT Message-Id: <202107091107.169B7Q2Z077469@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ganael LAPLANCHE Subject: git: 0da9b8bd4370 - main - devel/onetbb: Update to 2021.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: martymac X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0da9b8bd43709541d0a7eba2d5e3dcc11b420650 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2021 11:07:26 -0000 The branch main has been updated by martymac: URL: https://cgit.FreeBSD.org/ports/commit/?id=0da9b8bd43709541d0a7eba2d5e3dcc11b420650 commit 0da9b8bd43709541d0a7eba2d5e3dcc11b420650 Author: Ganael LAPLANCHE AuthorDate: 2021-07-09 11:05:19 +0000 Commit: Ganael LAPLANCHE CommitDate: 2021-07-09 11:05:19 +0000 devel/onetbb: Update to 2021.3.0 Release notes: https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-threading-building-blocks-release-notes.html --- devel/onetbb/Makefile | 11 +---------- devel/onetbb/distinfo | 6 +++--- devel/onetbb/files/onetbb.pc.in | 10 ---------- devel/onetbb/files/patch-test-common-memory_usage.h | 12 ------------ .../files/patch-test-common-utils_concurrency_limit.h | 16 ++++++++++++++++ .../patch-test-tbbmalloc-test_malloc_compliance.cpp | 6 +++--- devel/onetbb/pkg-plist | 15 ++++++++++----- graphics/blender-lts28/Makefile | 2 +- graphics/blender/Makefile | 2 +- graphics/embree/Makefile | 2 +- graphics/oidn/Makefile | 1 + graphics/openimageio/Makefile | 2 +- math/dune-common/Makefile | 2 +- math/dune-geometry/Makefile | 2 +- math/dune-grid/Makefile | 2 +- math/dune-pdelab/Makefile | 2 +- math/dune-uggrid/Makefile | 2 +- math/openturns/Makefile | 2 +- math/saga/Makefile | 2 +- misc/ngraph/Makefile | 2 +- 20 files changed, 46 insertions(+), 55 deletions(-) diff --git a/devel/onetbb/Makefile b/devel/onetbb/Makefile index 92c35b3cfe62..578bec315771 100644 --- a/devel/onetbb/Makefile +++ b/devel/onetbb/Makefile @@ -1,7 +1,7 @@ # Created by: Arun Sharma PORTNAME= onetbb -PORTVERSION= 2021.2.0 +PORTVERSION= 2021.3.0 DISTVERSIONPREFIX= v CATEGORIES= devel @@ -25,12 +25,6 @@ USE_GITHUB= yes GH_ACCOUNT= oneapi-src GH_PROJECT= oneTBB -SUB_FILES= onetbb.pc -SUB_LIST= prefix="${PREFIX}" \ - name="${PORTNAME}" \ - description="${COMMENT}" \ - version="${PORTVERSION}" - USE_LDCONFIG= yes PORTDOCS= README.md @@ -43,7 +37,4 @@ OPTIONS_DEFINE= DOCS EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_tbb_tools__api_ittnotify__config.h .endif -post-install: - ${INSTALL_DATA} ${WRKDIR}/onetbb.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig - .include diff --git a/devel/onetbb/distinfo b/devel/onetbb/distinfo index d59b54391657..8ac070e78dbe 100644 --- a/devel/onetbb/distinfo +++ b/devel/onetbb/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1617819323 -SHA256 (oneapi-src-oneTBB-v2021.2.0_GH0.tar.gz) = cee20b0a71d977416f3e3b4ec643ee4f38cedeb2a9ff015303431dd9d8d79854 -SIZE (oneapi-src-oneTBB-v2021.2.0_GH0.tar.gz) = 1606919 +TIMESTAMP = 1625085505 +SHA256 (oneapi-src-oneTBB-v2021.3.0_GH0.tar.gz) = 8f616561603695bbb83871875d2c6051ea28f8187dbe59299961369904d1d49e +SIZE (oneapi-src-oneTBB-v2021.3.0_GH0.tar.gz) = 1651329 diff --git a/devel/onetbb/files/onetbb.pc.in b/devel/onetbb/files/onetbb.pc.in deleted file mode 100644 index 3a229fe83b6c..000000000000 --- a/devel/onetbb/files/onetbb.pc.in +++ /dev/null @@ -1,10 +0,0 @@ -prefix=%%prefix%% -exec_prefix=${prefix} -libdir=${exec_prefix}/lib -includedir=${prefix}/include - -Name: %%name%% -Description: %%description%% -Version: %%version%% -Libs: -L${libdir} -ltbb -Cflags: -I${includedir} diff --git a/devel/onetbb/files/patch-test-common-memory_usage.h b/devel/onetbb/files/patch-test-common-memory_usage.h deleted file mode 100644 index c1813d83c17a..000000000000 --- a/devel/onetbb/files/patch-test-common-memory_usage.h +++ /dev/null @@ -1,12 +0,0 @@ ---- test/common/memory_usage.h.orig 2020-12-08 11:00:57 UTC -+++ test/common/memory_usage.h -@@ -119,7 +119,8 @@ namespace utils { - ASSERT(status == KERN_SUCCESS, NULL); - return info.virtual_size - shared_size; - #else -- return 0; -+ // Use stat var to work around unused parameter error -+ return stat == currentUsage ? 0 : 0; - #endif - } - diff --git a/devel/onetbb/files/patch-test-common-utils_concurrency_limit.h b/devel/onetbb/files/patch-test-common-utils_concurrency_limit.h new file mode 100644 index 000000000000..78edd61fe7d8 --- /dev/null +++ b/devel/onetbb/files/patch-test-common-utils_concurrency_limit.h @@ -0,0 +1,16 @@ +Backport edc39b844a483b69c39c64a136c4d62342884892 and 5c5d500d4fd502baed5176a19306e70c72d9c4e4 + +--- test/common/utils_concurrency_limit.h.orig 2021-06-30 08:19:55 UTC ++++ test/common/utils_concurrency_limit.h +@@ -166,9 +166,10 @@ int limit_number_of_threads( int max_threads ) { + + #endif // __TBB_TEST_SKIP_AFFINITY + +-#define OS_AFFINITY_SYSCALL_PRESENT ((__linux__ && !__ANDROID__) || (__FreeBSD_version >= 701000)) ++#define OS_AFFINITY_SYSCALL_PRESENT (__linux__ && !__ANDROID__) + + #if OS_AFFINITY_SYSCALL_PRESENT ++ + void get_thread_affinity_mask(std::size_t& ncpus, std::vector& free_indexes) { + cpu_set_t* mask = nullptr; + ncpus = sizeof(cpu_set_t) * CHAR_BIT; diff --git a/devel/onetbb/files/patch-test-tbbmalloc-test_malloc_compliance.cpp b/devel/onetbb/files/patch-test-tbbmalloc-test_malloc_compliance.cpp index 893228604321..0773770d4ab3 100644 --- a/devel/onetbb/files/patch-test-tbbmalloc-test_malloc_compliance.cpp +++ b/devel/onetbb/files/patch-test-tbbmalloc-test_malloc_compliance.cpp @@ -1,13 +1,13 @@ -error: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'rlim_t' (aka 'long') +Backport b2b2a9d65b30b869962de8140a44f5b29a3072fd ---- test/tbbmalloc/test_malloc_compliance.cpp.orig 2020-12-08 11:00:57 UTC +--- test/tbbmalloc/test_malloc_compliance.cpp.orig 2021-06-30 08:19:55 UTC +++ test/tbbmalloc/test_malloc_compliance.cpp @@ -91,7 +91,7 @@ void limitMem( size_t limit ) } if (rlim.rlim_max==(rlim_t)RLIM_INFINITY) rlim.rlim_cur = (limit > 0) ? limit*MByte : rlim.rlim_max; - else rlim.rlim_cur = (limit > 0 && limit 0 && limit<(size_t)rlim.rlim_max) ? limit*MByte : rlim.rlim_max; ++ else rlim.rlim_cur = (limit > 0 && static_cast(limit)