Skip to content

Commit

Permalink
Switch to LLVM compilers and LibXC 6.2.2 (dftbplus#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanderhe authored Dec 8, 2023
1 parent 0f68fc2 commit 5aaf03b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: >-
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5aaf03b

Please sign in to comment.