GNU bug report logs -
#58757
[PATCH staging] gnu: tbb: Update to 2021.6.0.
Previous Next
Reported by: Simon South <simon <at> simonsouth.net>
Date: Mon, 24 Oct 2022 12:15:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58757 in the body.
You can then email your comments to 58757 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#58757
; Package
guix-patches
.
(Mon, 24 Oct 2022 12:15:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Simon South <simon <at> simonsouth.net>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Mon, 24 Oct 2022 12:15:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This patch updates TBB ("Thread Building Blocks") to version 2021.6.0.
It also removes a now-obsolete patch that was added temporarily to allow
building on AArch64.[0]
I've tested this against the staging branch on x86_64-linux and aarch64-linux
and everything seems okay.
- On x86_64-linux, I've rebuilt without issue all 406 dependent packages
reported by "guix refresh --list-dependent tbb" except for
python-dolfin-adjoint, r-mlr3ordinal and shogun, but these do not appear to
be new failures.[1]
- On aarch64-linux, of tbb's immediate dependents[2] nlopt, octave, openvdb,
salmon and suitesparse build without issue. The remainder (or their own
dependencies) fail but none appear to be new failures.[3]
As usual, building the full set of dependents would require packages (like
the Haskell compiler) that either are not yet available for AArch64 or are
not feasible to build on the hobbyist boards I have available.
--
Simon South
simon <at> simonsouth.net
[0] In commit 2d4c22b0aa49:
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=2d4c22b0aa497f8a5e57a453b1dbf3ea98747c5f
[1] https://ci.guix.gnu.org/search?query=python-dolfin-adjoint+spec%3Astaging+system%3Ax86_64-linux
https://ci.guix.gnu.org/search?query=r-mlr3ordinal+spec%3Astaging+system%3Ax86_64-linux
https://ci.guix.gnu.org/search?query=shogun+spec%3Astaging+system%3Ax86_64-linux
[2] blender <at> 3.0.1, embree <at> 3.12.1, hyperledger-iroha <at> 1.1.1,
insight-toolkit <at> 4.12.2, insight-toolkit <at> 4.13.2, insight-toolkit <at> 5.0.0,
openvdb <at> 8.2.0, prusa-slicer <at> 2.4.2, salmon <at> 1.9.0 and suitesparse <at> 5.12.0.
[3] https://ci.guix.gnu.org/search?query=embree+spec%3Astaging+system%3Aaarch64-linux
https://ci.guix.gnu.org/search?query=opencolorio+spec%3Astaging+system%3Aaarch64-linux
https://ci.guix.gnu.org/search?query=prusa-slicer+spec%3Astaging+system%3Aaarch64-linux
https://ci.guix.gnu.org/search?query=vxl+spec%3Astaging+system%3Aaarch64-linux
Simon South (1):
gnu: tbb: Update to 2021.6.0.
gnu/local.mk | 1 -
.../patches/tbb-fix-test-on-aarch64.patch | 35 -------------------
gnu/packages/patches/tbb-other-arches.patch | 8 ++---
gnu/packages/tbb.scm | 10 ++----
4 files changed, 7 insertions(+), 47 deletions(-)
delete mode 100644 gnu/packages/patches/tbb-fix-test-on-aarch64.patch
base-commit: 408a4ed071c9c52de207d799a698781d49fa727d
--
2.38.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#58757
; Package
guix-patches
.
(Mon, 24 Oct 2022 12:20:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 58757 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/tbb.scm (tbb): Update to 2021.6.0.
[source]: Remove obsolete patch.
* gnu/packages/patches/tbb-fix-test-on-aarch64.patch: Delete file.
* gnu/local.mk: Remove it.
* gnu/packages/patches/tbb-other-arches.patch: Update to match new version.
---
gnu/local.mk | 1 -
.../patches/tbb-fix-test-on-aarch64.patch | 35 -------------------
gnu/packages/patches/tbb-other-arches.patch | 8 ++---
gnu/packages/tbb.scm | 10 ++----
4 files changed, 7 insertions(+), 47 deletions(-)
delete mode 100644 gnu/packages/patches/tbb-fix-test-on-aarch64.patch
diff --git a/gnu/local.mk b/gnu/local.mk
index c721718301..8f1e37f356 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1870,7 +1870,6 @@ dist_patch_DATA = \
%D%/packages/patches/tao-fix-parser-types.patch \
%D%/packages/patches/tar-remove-wholesparse-check.patch \
%D%/packages/patches/tar-skip-unreliable-tests.patch \
- %D%/packages/patches/tbb-fix-test-on-aarch64.patch \
%D%/packages/patches/tbb-other-arches.patch \
%D%/packages/patches/tclxml-3.2-install.patch \
%D%/packages/patches/tcsh-fix-autotest.patch \
diff --git a/gnu/packages/patches/tbb-fix-test-on-aarch64.patch b/gnu/packages/patches/tbb-fix-test-on-aarch64.patch
deleted file mode 100644
index 3a6003591e..0000000000
--- a/gnu/packages/patches/tbb-fix-test-on-aarch64.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 013035b4e9af39f506e87ae6b755c3363e768d4d Mon Sep 17 00:00:00 2001
-From: Vladislav Shchapov <phprus <at> gmail.com>
-Date: Thu, 23 Dec 2021 19:17:24 +0500
-Subject: [PATCH] Fix issue #687 (test_eh_thread) (#697)
-
-Signed-off-by: Vladislav Shchapov <phprus <at> gmail.com>
----
- test/tbb/test_eh_thread.cpp | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/test/tbb/test_eh_thread.cpp b/test/tbb/test_eh_thread.cpp
-index aa6d764d..af291f48 100644
---- a/test/tbb/test_eh_thread.cpp
-+++ b/test/tbb/test_eh_thread.cpp
-@@ -36,6 +36,7 @@
- // TODO: enable limitThreads with sanitizer under docker
- #if TBB_USE_EXCEPTIONS && !_WIN32 && !__ANDROID__
-
-+#include <limits.h>
- #include <sys/types.h>
- #include <sys/time.h>
- #include <sys/resource.h>
-@@ -73,7 +74,8 @@ public:
- mValid = false;
- pthread_attr_t attr;
- // Limit the stack size not to consume all virtual memory on 32 bit platforms.
-- if (pthread_attr_init(&attr) == 0 && pthread_attr_setstacksize(&attr, 100*1024) == 0) {
-+ std::size_t stacksize = utils::max(128*1024, PTHREAD_STACK_MIN);
-+ if (pthread_attr_init(&attr) == 0 && pthread_attr_setstacksize(&attr, stacksize) == 0) {
- mValid = pthread_create(&mHandle, &attr, thread_routine, /* arg = */ nullptr) == 0;
- }
- }
---
-2.34.0
-
diff --git a/gnu/packages/patches/tbb-other-arches.patch b/gnu/packages/patches/tbb-other-arches.patch
index b649eb3eb8..0ebfde165c 100644
--- a/gnu/packages/patches/tbb-other-arches.patch
+++ b/gnu/packages/patches/tbb-other-arches.patch
@@ -1,8 +1,8 @@
diff --git a/src/tbb/tools_api/ittnotify_config.h b/src/tbb/tools_api/ittnotify_config.h
-index 8ecc2378..0cf26f85 100644
+index f904a8e9..405f92e6 100644
--- a/src/tbb/tools_api/ittnotify_config.h
+++ b/src/tbb/tools_api/ittnotify_config.h
-@@ -159,6 +159,11 @@
+@@ -163,6 +163,11 @@
# define ITT_ARCH_ARM64 6
#endif /* ITT_ARCH_ARM64 */
@@ -14,7 +14,7 @@ index 8ecc2378..0cf26f85 100644
#ifndef ITT_ARCH
# if defined _M_IX86 || defined __i386__
# define ITT_ARCH ITT_ARCH_IA32
-@@ -172,6 +177,8 @@
+@@ -176,6 +181,8 @@
# define ITT_ARCH ITT_ARCH_ARM64
# elif defined __powerpc64__
# define ITT_ARCH ITT_ARCH_PPC64
@@ -24,7 +24,7 @@ index 8ecc2378..0cf26f85 100644
#endif
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index 9534dce8..51a79331 100644
+index 2aa669c9..f915e252 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -387,7 +387,10 @@ if (TARGET TBB::tbb)
diff --git a/gnu/packages/tbb.scm b/gnu/packages/tbb.scm
index d8c7d59c8d..4ce7c1cf49 100644
--- a/gnu/packages/tbb.scm
+++ b/gnu/packages/tbb.scm
@@ -32,7 +32,7 @@ (define-module (gnu packages tbb)
(define-public tbb
(package
(name "tbb")
- (version "2021.5.0")
+ (version "2021.6.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -41,12 +41,8 @@ (define-public tbb
(file-name (git-file-name name version))
(sha256
(base32
- "1z0pqzfx63zrmyqdvvkk8vl5dc0i0n5cimdkrypd50ig4d4yi7sc"))
- (patches
- ;; Backport an upstream commit that prevents the
- ;; "test_eh_thread" test failing on AArch64.
- (search-patches "tbb-fix-test-on-aarch64.patch"
- "tbb-other-arches.patch"))))
+ "039v4jmnkkxs7haxrfmk9j57vfbrwlhjynlm5byfaqddv4cbsy0p"))
+ (patches (search-patches "tbb-other-arches.patch"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags '("-DTBB_STRICT=OFF"))) ;; Don't fail on warnings
--
2.38.0
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Fri, 18 Nov 2022 14:15:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Simon South <simon <at> simonsouth.net>
:
bug acknowledged by developer.
(Fri, 18 Nov 2022 14:15:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 58757-done <at> debbugs.gnu.org (full text, mbox):
Hi Simon,
Simon South <simon <at> simonsouth.net> skribis:
> This patch updates TBB ("Thread Building Blocks") to version 2021.6.0.
>
> It also removes a now-obsolete patch that was added temporarily to allow
> building on AArch64.[0]
>
> I've tested this against the staging branch on x86_64-linux and aarch64-linux
> and everything seems okay.
>
> - On x86_64-linux, I've rebuilt without issue all 406 dependent packages
> reported by "guix refresh --list-dependent tbb" except for
> python-dolfin-adjoint, r-mlr3ordinal and shogun, but these do not appear to
> be new failures.[1]
>
> - On aarch64-linux, of tbb's immediate dependents[2] nlopt, octave, openvdb,
> salmon and suitesparse build without issue. The remainder (or their own
> dependencies) fail but none appear to be new failures.[3]
>
> As usual, building the full set of dependents would require packages (like
> the Haskell compiler) that either are not yet available for AArch64 or are
> not feasible to build on the hobbyist boards I have available.
Thanks for testing it thoroughly.
I figured applying it on current ‘master’ (time has passed…) wasn’t
unreasonable given the number of dependents. Unfortunately
<https://qa.guix.gnu.org/issue/58757> didn’t pick it up but I confirmed
that it still builds and passes tests on x86_64-linux.
> gnu: tbb: Update to 2021.6.0.
Applied, thanks!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 17 Dec 2022 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 188 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.