From 2057a24f292e49ed44f0847933c547e628d52b9f Mon Sep 17 00:00:00 2001 From: Tammo van der Heide Date: Fri, 8 Dec 2023 10:07:56 +0100 Subject: [PATCH] Switch to LLVM compilers and LibXC 6.2.2 --- .github/workflows/build.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1be9c699..22ed4157 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -110,14 +110,14 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - fc: [ifort] - cc: [icc] + fc: [ifx] + cc: [icx] env: FC: ${{ matrix.fc }} CC: ${{ matrix.cc }} APT_PACKAGES: >- intel-oneapi-compiler-fortran - intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic + intel-oneapi-compiler-dpcpp-cpp intel-oneapi-mkl intel-oneapi-mkl-devel CMAKE_OPTIONS: >- @@ -135,10 +135,8 @@ jobs: - name: Add Intel repository if: contains(matrix.os, 'ubuntu') run: | - wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB - sudo apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB - rm GPG-PUB-KEY-INTEL-SW-PRODUCTS-2023.PUB - echo "deb https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list + wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null + echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list sudo apt-get update - name: Install Intel oneAPI compiler @@ -154,7 +152,7 @@ jobs: run: | git clone https://gitlab.com/libxc/libxc.git cd libxc/ - git checkout 6.1.0 + git checkout 6.2.2 cmake -H. -B ${BUILD_DIR} -DENABLE_FORTRAN=True -DCMAKE_INSTALL_PREFIX=${PWD}/${BUILD_DIR}/${INSTALL_DIR} cd ${BUILD_DIR} make -j