Skip to content

Commit

Permalink
[wheel build] Bring back fortran and try to cache HDF5
Browse files Browse the repository at this point in the history
  • Loading branch information
q-posev committed Aug 17, 2024
1 parent ed53fbb commit 75ae581
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,15 @@ jobs:
brew install swig
brew install wget
- uses: actions/cache@v4
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
Expand All @@ -89,7 +97,7 @@ jobs:
run: |
./autogen.sh
export PATH=${PATH}:${HDF5_INSTALLDIR}/bin
./configure --without-fortran --enable-silent-rules
./configure FC=gfortran-12 --enable-silent-rules
make -j3
- name: prepare python
Expand Down

0 comments on commit 75ae581

Please sign in to comment.