-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1283 from msimberg/clang-19-ci
Add clang 19 CI configuration
- Loading branch information
Showing
4 changed files
with
60 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Copyright (c) 2023 ETH Zurich | ||
# | ||
# SPDX-License-Identifier: BSL-1.0 | ||
# Distributed under the Boost Software License, Version 1.0. (See accompanying | ||
# file BOOST_LICENSE_1_0.rst or copy at http://www.boost.org/LICENSE_1_0.txt) | ||
|
||
include: | ||
- local: '.gitlab/includes/common_pipeline.yml' | ||
- local: '.gitlab/includes/common_spack_pipeline.yml' | ||
|
||
.variables_clang19_config: | ||
variables: | ||
SPACK_ARCH: linux-ubuntu22.04-zen2 | ||
COMPILER: [email protected] | ||
CXXSTD: 23 | ||
SPACK_SPEC: "pika@main arch=$SPACK_ARCH %${COMPILER} \ | ||
cxxflags=-stdlib=libc++ cxxflags=-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG \ | ||
malloc=system \ | ||
cxxstd=$CXXSTD +stdexec ^[email protected] ^[email protected] \ | ||
^fmt cxxflags=-stdlib=libc++ cxxflags=-DLIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG \ | ||
^spdlog cxxflags=-stdlib=libc++ cxxflags=-DLIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG \ | ||
^[email protected]" | ||
CMAKE_FLAGS: "-DPIKA_WITH_CXX_STANDARD=$CXXSTD \ | ||
-DCMAKE_CXX_FLAGS='-stdlib=libc++ -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG' \ | ||
-DPIKA_WITH_MALLOC=system -DPIKA_WITH_SPINLOCK_DEADLOCK_DETECTION=ON \ | ||
-DPIKA_WITH_STDEXEC=ON" | ||
|
||
clang19_spack_compiler_image: | ||
extends: | ||
- .variables_clang19_config | ||
- .compiler_image_template_rosa | ||
|
||
clang19_spack_image: | ||
needs: [clang19_spack_compiler_image] | ||
extends: | ||
- .variables_clang19_config | ||
- .dependencies_image_template_rosa | ||
|
||
clang19_build: | ||
needs: [clang19_spack_image] | ||
extends: | ||
- .variables_clang19_config | ||
- .build_template_rosa | ||
|
||
.clang19_test_common: | ||
needs: [clang19_build] | ||
extends: | ||
- .variables_clang19_config | ||
- .test_common_eiger_mc | ||
- .test_template | ||
|
||
clang19_test_release: | ||
extends: [.clang19_test_common] | ||
image: $PERSIST_IMAGE_NAME_RELEASE | ||
|
||
clang19_test_debug: | ||
extends: [.clang19_test_common] | ||
image: $PERSIST_IMAGE_NAME_DEBUG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters