Skip to content

Commit

Permalink
Add gcc14 configuration in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aurianer committed Jun 24, 2024
1 parent 376308d commit 999195c
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .gitlab/includes/gcc14_pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# 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_gcc14_config:
variables:
SPACK_ARCH: linux-ubuntu22.04-broadwell
COMPILER: gcc@14.1.0
CXXSTD: 20
SPACK_SPEC: "pika@main arch=$SPACK_ARCH %${COMPILER} malloc=system cxxstd=$CXXSTD +stdexec \
^boost@1.82.0 ^hwloc@2.9.1 \
^stdexec@git.b39a506096900de4074ee556867a3805bd8351bd=main \
^spdlog cxxflags=-D_GLIBCXX_DEBUG cxxflags=-D_GLIBCXX_DEBUG_PEDANTIC \
cxxflags=-D_GLIBCXX_DEBUG_BACKTRACE cxxflags=-D_GLIBCXX_ASSERTIONS'"
CMAKE_FLAGS: "-DPIKA_WITH_CXX_STANDARD=$CXXSTD -DPIKA_WITH_MALLOC=system \
-DPIKA_WITH_STDEXEC=ON -DPIKA_WITH_SPINLOCK_DEADLOCK_DETECTION=ON \
-DCMAKE_CXX_FLAGS='-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC -D_GLIBCXX_DEBUG_BACKTRACE -D_GLIBCXX_ASSERTIONS'"

gcc14_spack_compiler_image:
extends:
- .variables_gcc14_config
- .compiler_image_template_rosa

gcc14_spack_image:
needs: [gcc14_spack_compiler_image]
extends:
- .variables_gcc14_config
- .dependencies_image_template_rosa

gcc14_build:
needs: [gcc14_spack_image]
extends:
- .variables_gcc14_config
- .build_template_rosa

.gcc14_test_common:
needs: [gcc14_build]
extends:
- .variables_gcc14_config
- .test_common_daint_mc
- .test_template

gcc14_test_release:
extends: [.gcc14_test_common]
image: $PERSIST_IMAGE_NAME_RELEASE

gcc14_test_debug:
extends: [.gcc14_test_common]
image: $PERSIST_IMAGE_NAME_DEBUG
1 change: 1 addition & 0 deletions .gitlab/pipelines_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# file BOOST_LICENSE_1_0.rst or copy at http://www.boost.org/LICENSE_1_0.txt)

include:
- local: '.gitlab/includes/gcc14_pipeline.yml'
- local: '.gitlab/includes/gcc13_pipeline.yml'
- local: '.gitlab/includes/clang14_cuda11_pipeline.yml'
- local: '.gitlab/includes/performance_gcc13_pipeline.yml'
Expand Down

0 comments on commit 999195c

Please sign in to comment.