Skip to content

Commit

Permalink
Update GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
vanderhe committed Dec 6, 2024
1 parent 6ec0dfe commit e3e13a3
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,19 +146,13 @@ jobs:
source /opt/intel/oneapi/setvars.sh
printenv >> $GITHUB_ENV
- name: Install HDF5 (gcc)
if: contains(matrix.os, 'ubuntu')
run: |
sudo apt-get update
sudo apt-get install hdf5-tools libhdf5-dev libhdf5-103
- name: Install HDF5 (intel)
- name: Install HDF5
if: contains(matrix.os, 'ubuntu')
run: |
wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.13/hdf5-1.13.2/src/CMake-hdf5-1.13.2.tar.gz
tar xfz CMake-hdf5-1.13.2.tar.gz
cd CMake-hdf5-1.13.2/hdf5-1.13.2/
CC=icx CXX=icx FC=ifort F9X=ifort ./configure --prefix=${PWD}/hdf5 --enable-fortran --with-default-api-version=v110 --enable-shared
wget https://support.hdfgroup.org/releases/hdf5/v1_14/v1_14_4/downloads/hdf5-1.14.4-3.tar.gz
tar xfz hdf5-1.14.4-3.tar.gz
cd hdf5-1.14.4-3/
CC=icx CXX=icx FC=ifort F9X=ifort ./configure --prefix=${PWD}/hdf5 --enable-fortran --enable-shared
make -j -l2
make install
export HDF5_ROOT=${PWD}/hdf5
Expand Down

0 comments on commit e3e13a3

Please sign in to comment.