Skip to content

Commit a4b078d

Browse files
committed
clang tidy/sanitizer: Ubuntu 24.04, clang-19
1 parent d6d01a4 commit a4b078d

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ spack:
4343
variants: ~fortran
4444
providers:
4545
mpi: [openmpi]
46-
compiler: [clang@14.0.0]
46+
compiler: [clang@19.0.0]
4747

4848
compilers:
4949
- compiler:
@@ -53,11 +53,11 @@ spack:
5353
modules: []
5454
operating_system: ubuntu22.04
5555
paths:
56-
cc: /usr/bin/clang-14
57-
cxx: /usr/bin/clang++-14
56+
cc: /usr/bin/clang-19
57+
cxx: /usr/bin/clang++-19
5858
f77: /usr/bin/gfortran
5959
fc: /usr/bin/gfortran
60-
spec: clang@14.0.0
60+
spec: clang@19.0.0
6161
target: x86_64
6262

6363
config:

.github/workflows/tooling.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ concurrency:
77
cancel-in-progress: true
88

99
jobs:
10-
clangtidy14_nopy_ompi_h5_ad2:
10+
clangtidy19_nopy_ompi_h5_ad2:
1111
name: clang-tidy w/o py
1212
runs-on: ubuntu-22.04
1313
if: github.event.pull_request.draft == false
1414
steps:
1515
- uses: actions/checkout@v4
1616
- name: Spack Cache
1717
uses: actions/cache@v3
18-
with: {path: /opt/spack, key: clangtidy14_nopy_ompi_h5_ad2 }
18+
with: {path: /opt/spack, key: clangtidy19_nopy_ompi_h5_ad2 }
1919
- name: Install
2020
run: |
2121
sudo apt-get update
@@ -36,24 +36,24 @@ jobs:
3636
cat build/clang-tidy.log
3737
if [[ $(wc -m <build/clang-tidy.log) -gt 1 ]]; then exit 1; fi
3838
39-
clangsanitizer14_py38_ompi_h5_ad2:
39+
clangsanitizer19_py38_ompi_h5_ad2:
4040
name: Clang ASAN UBSAN
41-
runs-on: ubuntu-22.04
41+
runs-on: ubuntu-24.04
4242
if: github.event.pull_request.draft == false
4343
steps:
4444
- uses: actions/checkout@v4
4545
- name: Spack Cache
4646
uses: actions/cache@v3
47-
with: {path: /opt/spack, key: clang14_nopy_ompi_h5_ad2 }
47+
with: {path: /opt/spack, key: clang19_nopy_ompi_h5_ad2 }
4848
- name: Install
4949
run: |
5050
sudo apt-get update
51-
sudo apt-get install clang-14 libc++-dev libc++abi-dev python3 gfortran libopenmpi-dev
51+
sudo apt-get install clang-19 libc++-dev libc++abi-dev python3 gfortran libopenmpi-dev
5252
python3 -m pip install -U pip
5353
python3 -m pip install -U numpy
5454
sudo .github/workflows/dependencies/install_spack
5555
- name: Build
56-
env: {CC: mpicc, CXX: mpic++, OMPI_CC: clang-14, OMPI_CXX: clang++-14, CXXFLAGS: -Werror, OPENPMD_HDF5_CHUNKS: none, OPENPMD_TEST_NFILES_MAX: 100}
56+
env: {CC: mpicc, CXX: mpic++, OMPI_CC: clang-19, OMPI_CXX: clang++-19, CXXFLAGS: -Werror, OPENPMD_HDF5_CHUNKS: none, OPENPMD_TEST_NFILES_MAX: 100}
5757
run: |
5858
sudo ln -s "$(which cmake)" /usr/bin/cmake
5959
eval $(spack env activate --sh .github/ci/spack-envs/clangtidy_nopy_ompi_h5_ad2/)
@@ -72,7 +72,7 @@ jobs:
7272
cmake --build build --parallel 2
7373
export ASAN_OPTIONS=detect_stack_use_after_return=1:detect_leaks=1:check_initialization_order=true:strict_init_order=true:detect_stack_use_after_scope=1:fast_unwind_on_malloc=0
7474
export LSAN_OPTIONS=suppressions="$SOURCEPATH/.github/ci/sanitizer/clang/Leak.supp"
75-
export LD_PRELOAD=/usr/lib/clang/14/lib/linux/libclang_rt.asan-x86_64.so
75+
export LD_PRELOAD=/usr/lib/clang/19/lib/linux/libclang_rt.asan-x86_64.so
7676
ctest --test-dir build -E 3b --output-on-failure
7777
export OPENPMD_HDF5_CHUNKS="auto"
7878
ctest --test-dir build -R 3b --output-on-failure

0 commit comments

Comments
 (0)