From 64dd076aa4c97012ba8c64ea37985e16c7a2056a Mon Sep 17 00:00:00 2001 From: Emily Bourne Date: Mon, 11 Sep 2023 21:05:53 +0200 Subject: [PATCH] Activate compilers --- .github/actions/linux_install/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/linux_install/action.yml b/.github/actions/linux_install/action.yml index 0dfd602f..fe21b06f 100644 --- a/.github/actions/linux_install/action.yml +++ b/.github/actions/linux_install/action.yml @@ -46,5 +46,7 @@ runs: echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list sudo apt-get update -o Dir::Etc::sourcelist="sources.list.d/oneAPI.list" -o APT::Get::List-Cleanup="0" sudo apt-get install -y intel-oneapi-compiler-fortran intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic intel-oneapi-openmp intel-oneapi-mkl - ln -s ifort ifx + LATEST_VERSION=$(ls -1 /opt/intel/oneapi/compiler/ | grep -v latest | sort | tail -1) + # shellcheck source=/dev/null + source /opt/intel/oneapi/compiler/"$LATEST_VERSION"/env/vars.sh shell: bash