Skip to content

Commit 7a11eb7

Browse files
try automatic delocation in macos
1 parent 64a5667 commit 7a11eb7

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/actions_build/ci_build_wheel_macos.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export CIBW_BUILD_PLATFORM="build[uv]"
8080
export CIBW_PLATFORM="macos"
8181
export MACOSX_DEPLOYMENT_TARGET=15.0
8282
export CIBW_BEFORE_BUILD="python -m pip install colored"
83-
export CIBW_REPAIR_WHEEL_COMMAND_MACOS=""
83+
#export CIBW_REPAIR_WHEEL_COMMAND_MACOS=""
8484

8585
if [[ ${MATRIX_OS} == "macos-15-intel" ]]; then
8686
export DYLD_LIBRARY_PATH=$HOME/software/geant4/bin/BuildProducts/lib:/Users/runner/miniconda3/envs/opengate_core/lib/qt6/plugins/platforms:/opt/X11/lib/:$DYLD_LIBRARY_PATH:/Users/runner/miniconda3/envs/opengate_core/lib
@@ -92,12 +92,12 @@ else
9292
fi
9393

9494
python -m cibuildwheel --output-dir dist
95-
delocate-listdeps --all dist/*.whl
96-
delocate-wheel -w fixed_wheels -v dist/*.whl
97-
rm -rf dist
98-
ls fixed_wheels
99-
delocate-listdeps --all fixed_wheels/*.whl
100-
mv fixed_wheels dist
95+
#delocate-listdeps --all dist/*.whl
96+
#delocate-wheel -w fixed_wheels -v dist/*.whl
97+
#rm -rf dist
98+
#ls fixed_wheels
99+
#delocate-listdeps --all fixed_wheels/*.whl
100+
#mv fixed_wheels dist
101101
cd dist
102102
if [[ ${MATRIX_OS} == "macos-15-intel" ]]; then
103103
find . -name '*whl' -exec bash -c ' mv $0 ${0/macosx_15_0/macosx_10_9}' {} \;

0 commit comments

Comments
 (0)