tbb: fix tbbmalloc_proxy on musl

This commit is contained in:
Daniel Martinez 2024-05-08 12:51:50 -04:00 committed by Andrea Brancaleoni
parent 50a7274641
commit 00abde7d0b
1 changed files with 1 additions and 8 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'tbb'
pkgname=tbb
version=2021.12.0
revision=1
revision=2
build_style=cmake
configure_args="-DTBB_STRICT=OFF -DTBB_TEST=OFF"
makedepends="libgomp-devel libhwloc-devel"
@ -27,13 +27,6 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-lucontext"
fi
post_extract() {
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
vsed -e "s@#define MALLOC_UNIXLIKE_OVERLOAD_ENABLED __linux__@@" \
-i src/tbbmalloc_proxy/proxy.h
fi
}
post_install() {
# The Python package is installed as an egg, which is deprecated
# and isn't added to the Python path, so just unpack it.