Skip to content

Commit 697167f

Browse files
author
Simon Rit
committed
BUG: Fix compatibility with scikit-build(-core) build directory names
scikit-build compiles in the directory "_skbuild/cmake-build" scikit-build-core compiles in an environment-dependent directory, e.g., in the directory "build/cp38-cp38-manylinux_2_28_x86_64"
1 parent 2ac066f commit 697167f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/dockcross-manylinux-build-module-deps.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ for MODULE_INFO in ${ITK_MODULE_PREQ_TOPLEVEL//:/ }; do
7474

7575
echo "Cleaning up module dependency"
7676
cp ./${MODULE_NAME}/include/* include/
77-
find ${MODULE_NAME}/_skbuild -type f -wholename "**/cmake-build/include/*" -print -exec cp {} include \;
77+
find ${MODULE_NAME}/*build/*/include -type f -print -exec cp {} include \;
7878

7979
# Cache build archive
8080
if [[ `(compgen -G ./ITKPythonBuilds-linux*.tar.zst)` ]]; then

scripts/dockcross-manylinux-cleanup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fi
3131
unlink oneTBB-prefix
3232
${rm_prefix} rm -rf ITKPythonPackage/
3333
${rm_prefix} rm -rf tools/
34-
${rm_prefix} rm -rf _skbuild/
34+
${rm_prefix} rm -rf _skbuild/ build/
3535
${rm_prefix} rm -rf ./*.egg-info/
3636
${rm_prefix} rm -rf ./ITK-*-manylinux${MANYLINUX_VERSION}_${TARGET_ARCH}/
3737
${rm_prefix} rm -rf ./ITKPythonBuilds-linux-manylinux*${MANYLINUX_VERSION}*.tar.zst

0 commit comments

Comments
 (0)