Skip to content

Commit

Permalink
Enable clang-tidy checks on CSCS CI clang pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
msimberg committed Nov 20, 2024
1 parent f1041b1 commit 7d43547
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitlab/includes/clang14_cuda11_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ include:
SPACK_SPEC: "pika@main arch=$SPACK_ARCH %${COMPILER} +cuda cuda_arch=${GPU_TARGET} malloc=system
cxxstd=$CXXSTD +valgrind ^[email protected] ^[email protected] +allow-unsupported-compilers ^[email protected] ^valgrind ~mpi"
# PIKA_WITH_CXX_LAMBDA_CAPTURE_DECLTYPE is OFF to test the fallback implementation of PIKA_FORWARD.
CMAKE_FLAGS: "-DPIKA_WITH_CXX_STANDARD=20 -DPIKA_WITH_CUDA=ON -DPIKA_WITH_MALLOC=system \
CMAKE_FLAGS: "-DCMAKE_CXX_CLANG_TIDY=clang-tidy -DPIKA_WITH_CXX_STANDARD=20 -DPIKA_WITH_CUDA=ON -DPIKA_WITH_MALLOC=system \
-DPIKA_WITH_SPINLOCK_DEADLOCK_DETECTION=ON -DCMAKE_CUDA_COMPILER=c++ \
-DCMAKE_CUDA_ARCHITECTURES=${GPU_TARGET} \
-DPIKA_WITH_CXX_LAMBDA_CAPTURE_DECLTYPE=OFF \
Expand Down
2 changes: 1 addition & 1 deletion .gitlab/includes/clang18_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ include:
SPACK_SPEC: "pika@main arch=$SPACK_ARCH %${COMPILER} malloc=system cxxstd=$CXXSTD ^[email protected] \
^[email protected]"
CMAKE_FLAGS: "-DPIKA_WITH_CXX_STANDARD=$CXXSTD -DPIKA_WITH_MALLOC=system
-DPIKA_WITH_SPINLOCK_DEADLOCK_DETECTION=ON"
-DPIKA_WITH_SPINLOCK_DEADLOCK_DETECTION=ON -DCMAKE_CXX_CLANG_TIDY=clang-tidy"

clang18_spack_compiler_image:
extends:
Expand Down

0 comments on commit 7d43547

Please sign in to comment.