tbb: fix configure_args on x86_64*/aarch64*.

This commit is contained in:
Andy Weidenbaum 2024-02-28 22:20:58 +00:00 committed by Andrea Brancaleoni
parent 1516a4cbd2
commit 941946043c

View file

@ -1,7 +1,7 @@
# Template file for 'tbb'
pkgname=tbb
version=2021.11.0
revision=2
revision=3
build_style=cmake
configure_args="-DTBB_STRICT=OFF -DTBB_TEST=OFF"
makedepends="libgomp-devel libhwloc-devel"
@ -16,9 +16,9 @@ make_check=no # checks fail upstream on i686
case "$XBPS_TARGET_MACHINE" in
x86_64*|aarch64*)
build_options_default+=" -DTBB4PY_BUILD=ON"
hostmakedepends+=" python3-devel python3-distutils-extra swig"
makedepends+=" python3-devel"
configure_args+=" -DTBB4PY_BUILD=ON"
;;
esac