Skip to content

Commit

Permalink
MACOSX_DEPLOYMENT_TARGET
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnaf-tahmid-chowdhury committed Jun 8, 2024
1 parent c88796f commit caa2e9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ 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: DYLD_LIBRARY_PATH=$$(echo /usr/local/Cellar/gcc/*/lib/gcc/current/)
CIBW_ENVIRONMENT_MACOS: >
MACOSX_DEPLOYMENT_TARGET=11.0
DYLD_LIBRARY_PATH=$$(echo /usr/local/Cellar/gcc/*/lib/gcc/current/)
CIBW_BUILD_FRONTEND: "build"
with:
package-dir: .
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/quick_wheel_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
brew install hdf5
# ISSUE: DYLD_LIBRARY_PATH for gcc is not set on Intel macOS
echo "DYLD_LIBRARY_PATH=$(echo /usr/local/Cellar/gcc/*/lib/gcc/current/):$DYLD_LIBRARY_PATH" >> $GITHUB_ENV
echo "MACOSX_DEPLOYMENT_TARGET=11.0" >> $GITHUB_ENV
- name: Set up Python
uses: actions/setup-python@v5
Expand Down

0 comments on commit caa2e9e

Please sign in to comment.