gnu: tbb: Fix building on armhf-linux.
* gnu/packages/tbb.scm (tbb)[arguments]: Add configure-flag when building for armhf-linux to run a lighter test suite. Add a phase when building for armhf-linux to skip a test. Change-Id: Ic730c82f30357d3a55e92098114a9dc2a6d062e9
This commit is contained in:
parent
8de6ed6913
commit
7e6580670b
1 changed files with 13 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue