Skip to content

Commit

Permalink
fix DYLD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnaf-tahmid-chowdhury committed Jun 8, 2024
1 parent 1821715 commit 424d9d1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ jobs:
# hdf5 is needed for building tables
brew install hdf5
# ISSUE: DYLD_LIBRARY_PATH for gcc is not set on Intel macOS
CIBW_ENVIRONMENT_MACOS: >
MACOSX_DEPLOYMENT_TARGET=${{ matrix.os == 'macos-14' && '14.0' || '13.0' }}
DYLD_LIBRARY_PATH=$(echo /usr/local/Cellar/gcc/*/lib/gcc/current/)
echo "DYLD_LIBRARY_PATH=$(echo /usr/local/Cellar/gcc/*/lib/gcc/current/):$DYLD_LIBRARY_PATH" >> $GITHUB_ENV
echo "MACOSX_DEPLOYMENT_TARGET=${{ matrix.os == 'macos-14' && '14.0' || '13.0' }}" >> $GITHUB_ENV
CIBW_BUILD_FRONTEND: "build"
with:
package-dir: .
Expand Down

0 comments on commit 424d9d1

Please sign in to comment.