Skip to content

Commit 5ec6d00

Browse files
Set DYLD_LIBRARY_PATH to point to hugrenv when running delocate on macos
1 parent 61075ee commit 5ec6d00

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/python-wheels.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ jobs:
210210
shell: bash
211211
run: |
212212
echo "Repairing macOS wheels with delocate..."
213+
export DYLD_LIBRARY_PATH="${{ matrix.platform.hugrenv.root }}/lib:${{ matrix.platform.hugrenv.root }}/lib64:$DYLD_LIBRARY_PATH"
213214
ls -lh dist || true
214215
MAC_WHEELS=$(ls dist/*macosx*.whl 2>/dev/null || true)
215216
if [ -z "$MAC_WHEELS" ]; then

0 commit comments

Comments
 (0)