Skip to content

Commit

Permalink
build: Add delocate as a dependency for cibuildwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
cauliyang committed Oct 31, 2023
1 parent a6d0846 commit 75c0a9f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ jobs:
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel
python -m pip install delocate
- name: Build wheels
env:
Expand Down Expand Up @@ -216,7 +217,7 @@ jobs:
mv $ORIGINAL_WHEEL $RENAMED_WHEEL
echo "Running delocate-wheel command on $RENAMED_WHEEL"
delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v $RENAMED_WHEEL
DYLD_LIBRARY_PATH="$LIBRARY_PATH" delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v $RENAMED_WHEEL
echo "Running delocate-listdeps to list linked wheel dependencies"
WHEEL_SIMPLE_FILENAME="${RENAMED_WHEEL##*/}"
Expand Down

0 comments on commit 75c0a9f

Please sign in to comment.