mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
tbb: fix tbbmalloc_proxy on musl
This commit is contained in:
parent
50a7274641
commit
00abde7d0b
1 changed files with 1 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'tbb'
|
# Template file for 'tbb'
|
||||||
pkgname=tbb
|
pkgname=tbb
|
||||||
version=2021.12.0
|
version=2021.12.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DTBB_STRICT=OFF -DTBB_TEST=OFF"
|
configure_args="-DTBB_STRICT=OFF -DTBB_TEST=OFF"
|
||||||
makedepends="libgomp-devel libhwloc-devel"
|
makedepends="libgomp-devel libhwloc-devel"
|
||||||
|
@ -27,13 +27,6 @@ if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-lucontext"
|
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-lucontext"
|
||||||
fi
|
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() {
|
post_install() {
|
||||||
# The Python package is installed as an egg, which is deprecated
|
# The Python package is installed as an egg, which is deprecated
|
||||||
# and isn't added to the Python path, so just unpack it.
|
# and isn't added to the Python path, so just unpack it.
|
||||||
|
|
Loading…
Add table
Reference in a new issue