Skip to content

Commit d37699e

Browse files
committed
Fix Clang-12 Path
1 parent b1f0a5b commit d37699e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/ci/spack-envs/clang12_py38_mpich_h5_ad2/spack.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ spack:
5050
modules: []
5151
operating_system: ubuntu22.04
5252
paths:
53-
cc: /usr/lib/llvm-12/bin/clang
54-
cxx: /usr/lib/llvm-12/bin/clang++
53+
cc: /usr/bin/clang-12
54+
cxx: /usr/bin/clang++-12
5555
f77: /usr/bin/gfortran
5656
fc: /usr/bin/gfortran
5757
spec: clang@12.0.1

.github/workflows/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ jobs:
174174
sudo apt-get install clang-12 gfortran libmpich-dev python3
175175
sudo .github/workflows/dependencies/install_spack
176176
- name: Build
177-
env: {CC: clang++, CXX: clang++, CXXFLAGS: -Werror}
177+
env: {CC: clang++-12, CXX: clang++-12, CXXFLAGS: -Werror}
178178
run: |
179179
cmake --version
180180
mpiexec --version

0 commit comments

Comments
 (0)