tbb_2021_11: fix build on musl (#359051)

This commit is contained in:
Jörg Thalheim 2024-11-28 12:15:30 +01:00 committed by GitHub
commit 992dd01f11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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; {