1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-08-24 22:21:43 +02:00

[wheel build] Bring back fortran and try to cache HDF5

This commit is contained in:
q-posev 2024-08-17 22:41:47 +02:00
parent ed53fbbb01
commit 75ae5818b1

View File

@ -74,7 +74,15 @@ jobs:
brew install swig brew install swig
brew install wget brew install wget
- uses: actions/cache@v4
id: cache
with:
path: |
$HDF5_INSTALLDIR
key: ${{ matrix.buildplat[0] }}-hdf5
- name: install hdf5 - name: install hdf5
if: steps.cache.outputs.cache-hit != 'true'
run: | run: |
wget https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1_12_3.tar.gz wget https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-1_12_3.tar.gz
tar -xzf hdf5-1_12_3.tar.gz tar -xzf hdf5-1_12_3.tar.gz
@ -89,7 +97,7 @@ jobs:
run: | run: |
./autogen.sh ./autogen.sh
export PATH=${PATH}:${HDF5_INSTALLDIR}/bin export PATH=${PATH}:${HDF5_INSTALLDIR}/bin
./configure --without-fortran --enable-silent-rules ./configure FC=gfortran-12 --enable-silent-rules
make -j3 make -j3
- name: prepare python - name: prepare python