Skip to content

Commit

Permalink
Make clang 17 CI pipeline use CUDA
Browse files Browse the repository at this point in the history
  • Loading branch information
msimberg committed Jan 14, 2025
1 parent cad0c4f commit 22c3877
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .gitlab/includes/clang17_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,40 @@ include:

.variables_clang17_config:
variables:
SPACK_ARCH: linux-ubuntu24.04-zen2
SPACK_ARCH: linux-ubuntu24.04-neoverse_v2
BASE_COMPILER: gcc@12
COMPILER: [email protected]
CXXSTD: 23
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
GPU_TARGET: '80'
SPACK_SPEC: "pika@main arch=$SPACK_ARCH %${COMPILER} +cuda cuda_arch=${GPU_TARGET} malloc=system cxxstd=$CXXSTD \
^[email protected] ^[email protected] ^[email protected]"
CMAKE_FLAGS: "-DPIKA_WITH_CXX_STANDARD=$CXXSTD -DPIKA_WITH_MALLOC=system \
-DPIKA_WITH_CUDA=ON -DCMAKE_CUDA_COMPILER=c++ -DCMAKE_CUDA_ARCHITECTURES=${GPU_TARGET} \
-DPIKA_WITH_SPINLOCK_DEADLOCK_DETECTION=ON -DPIKA_WITH_THREAD_STACK_MMAP=OFF \
-DPIKA_WITH_STACKTRACES=OFF"

clang17_spack_compiler_image:
extends:
- .variables_clang17_config
- .compiler_image_template_zen2
- .compiler_image_template_gh200

clang17_spack_image:
needs: [clang17_spack_compiler_image]
extends:
- .variables_clang17_config
- .dependencies_image_template_zen2
- .dependencies_image_template_gh200

clang17_build:
needs: [clang17_spack_image]
extends:
- .variables_clang17_config
- .build_template_zen2
- .build_template_gh200

.clang17_test_common:
needs: [clang17_build]
extends:
- .variables_clang17_config
- .test_common_eiger_mc
- .test_common_gh200
- .test_template

clang17_test_release:
Expand Down

0 comments on commit 22c3877

Please sign in to comment.