tbb_2021_11: fix build on musl
the previous substitution resulted in an invalid CMakeLists.txt Change-Id: I9ad37811c76239fa1d0238c71727cda9936939f4 Signed-off-by: Yureka <yureka@cyberchaos.dev>
This commit is contained in:
parent
af64a865e4
commit
2496c495ef
@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
||||
# test/conformance/conformance_resumable_tasks.cpp:37:24: error: ‘suspend’ is not a member of ‘tbb::v1::task’; did you mean ‘tbb::detail::r1::suspend’?
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isMusl ''
|
||||
substituteInPlace test/CMakeLists.txt \
|
||||
--replace 'conformance_resumable_tasks' ""
|
||||
--replace-fail 'tbb_add_test(SUBDIR conformance NAME conformance_resumable_tasks DEPENDENCIES TBB::tbb)' ""
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user