diff --git a/.github/workflows/meta.yml b/.github/workflows/meta.yml index 9a52458e57..30ae3d307c 100644 --- a/.github/workflows/meta.yml +++ b/.github/workflows/meta.yml @@ -121,16 +121,17 @@ jobs: if: contains(matrix.os,'ubuntu') && contains(matrix.mpi,'intel') run: | # Install MPI - sudo apt-get install -y -q intel-oneapi-mpi-devel ninja-build + sudo apt-get install -y -q intel-oneapi-mpi-devel ninja-build cmake source /opt/intel/oneapi/setvars.sh --force printenv >> $GITHUB_ENV - # To run HDF5 with oneAPI, we need to build it from source + # To run HDF5 with oneAPI, we need to build it from source. Use CMake to generate pkg-config info curl -O -L https://github.com/HDFGroup/hdf5/archive/refs/tags/snapshot-1.14.tar.gz tar zxf snapshot-1.14.tar.gz cd hdf5-snapshot-1.14 - sh ./autogen.sh - sh ./configure --prefix=/tmp CC="$(which icx)" FC="$(which ifx)" --enable-build-mode=production --enable-fortran + cmake -B build -DHDF5_BUILD_FORTRAN=ON -DCMAKE_INSTALL_PREFIX=/usr/lib + cd build make -j + make install - name: (Windows) Put MSYS2_MinGW64 on PATH if: contains(matrix.os,'windows') && (!contains(matrix.mpi,'intel'))