summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/tbb.scm14
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/packages/tbb.scm b/gnu/packages/tbb.scm
index b2d276ac8b..b73ff22e48 100644
--- a/gnu/packages/tbb.scm
+++ b/gnu/packages/tbb.scm
@@ -52,7 +52,19 @@
'(,@(if (target-riscv64?)
'("-DTBB_TEST_LINK_FLAGS=-latomic")
`())
- "-DTBB_STRICT=OFF"))) ;; Don't fail on warnings
+ ,@(if (target-arm32?)
+ '("-DTBB_TEST_COMPILE_FLAGS=-DTBB_TEST_LOW_WORKLOAD")
+ `())
+ "-DTBB_STRICT=OFF") ;; Don't fail on warnings
+ #:phases
+ (modify-phases %standard-phases
+ ,@(if (target-arm32?)
+ `((add-after 'unpack 'adjust-test-suite
+ (lambda _
+ (substitute* "test/CMakeLists.txt"
+ ;; Bus error, skipped on mips.
+ ((".*test_malloc_pools.*") "")))))
+ '()))))
(home-page "https://www.threadingbuildingblocks.org")
(synopsis "C++ library for parallel programming")
(description