Skip to content

Commit

Permalink
[wheel build] Try to fix the macos platform tags...
Browse files Browse the repository at this point in the history
  • Loading branch information
q-posev committed Aug 17, 2024
1 parent 5258eb0 commit 5e60d3d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,23 @@ jobs:
brew install swig
brew install wget
- uses: actions/cache@v3
id: cache
with:
path: $HDF5_INSTALLDIR
key: ${{ matrix.buildplat[0] }}-hdf5
#- uses: actions/cache@v3
# id: cache
# with:
# path: $HDF5_INSTALLDIR
# key: ${{ matrix.buildplat[0] }}-hdf5
- name: install hdf5
if: steps.cache.outputs.cache-hit != 'true'
run: |
wget https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1_12_3.tar.gz
tar -xzf hdf5-1_12_3.tar.gz
cd hdf5-hdf5-1_12_3
if [[ "$ARCH" == "arm64" ]]; then
export MACOSX_DEPLOYMENT_TARGET="11.0"
else
export MACOSX_DEPLOYMENT_TARGET="10.9"
fi
./autogen.sh
./configure CC=gcc-12 --prefix $HDF5_INSTALLDIR --enable-build-mode=production --with-szlib
echo "PWD is $PWD"
Expand Down

0 comments on commit 5e60d3d

Please sign in to comment.