Skip to content

Commit 0e73fe4

Browse files
committed
ENH: Add TBB support for Linux module wheels
1 parent 6d88b52 commit 0e73fe4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

scripts/dockcross-manylinux-download-cache-and-build-module-wheels.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ if [[ ! -f ./ITKPythonPackage/scripts/dockcross-manylinux-build-module-wheels.sh
3636
echo "ERROR: can not find required binary './ITKPythonPackage/scripts/dockcross-manylinux-build-module-wheels.sh'"
3737
exit 255
3838
fi
39+
cp -a ITKPythonPackage/oneTBB-prefix ./
3940

4041
./ITKPythonPackage/scripts/dockcross-manylinux-build-module-wheels.sh "$@"

scripts/internal/manylinux-build-module-wheels.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ script_dir=$(cd $(dirname $0) || exit 1; pwd)
1010
source "${script_dir}/manylinux-build-common.sh"
1111
# -----------------------------------------------------------------------
1212

13+
# So auditwheel can find the libs
14+
export LD_LIBRARY_PATH=/work/oneTBB-prefix/lib64
15+
1316
# Compile wheels re-using standalone project and archive cache
1417
for PYBIN in "${PYBINARIES[@]}"; do
1518
Python3_EXECUTABLE=${PYBIN}/python

0 commit comments

Comments
 (0)