ci: Subsume GCC C++ modules testing in main Fedora jobs
Fedora 40 comes with a RedHat branch of GCC 14.0, which supports the features we need for C++ modules.stage/master/nightly/2024/04/25
parent
9c004ddb3d
commit
4590255c63
|
@ -406,26 +406,6 @@ t:hip5.5-radeon:
|
|||
variables:
|
||||
CMAKE_CI_JOB_NIGHTLY: "true"
|
||||
|
||||
t:linux-gcc-cxx-modules-ninja:
|
||||
extends:
|
||||
- .gcc_cxx_modules_ninja
|
||||
- .cmake_test_linux_release
|
||||
- .linux_x86_64_tags
|
||||
- .run_dependent
|
||||
- .needs_centos7_x86_64
|
||||
variables:
|
||||
CMAKE_CI_JOB_NIGHTLY: "true"
|
||||
|
||||
t:linux-gcc-cxx-modules-ninja-multi:
|
||||
extends:
|
||||
- .gcc_cxx_modules_ninja_multi
|
||||
- .cmake_test_linux_release
|
||||
- .linux_x86_64_tags
|
||||
- .run_dependent
|
||||
- .needs_centos7_x86_64
|
||||
variables:
|
||||
CMAKE_CI_JOB_NIGHTLY: "true"
|
||||
|
||||
t:debian10-legacy:
|
||||
extends:
|
||||
- .debian10_legacy
|
||||
|
|
|
@ -2,6 +2,7 @@ set(CMake_TEST_GUI "ON" CACHE BOOL "")
|
|||
if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "")
|
||||
set(CMake_TEST_ISPC "ON" CACHE STRING "")
|
||||
endif()
|
||||
set(CMake_TEST_MODULE_COMPILATION "named,compile_commands,collation,partitions,internal_partitions,export_bmi,install_bmi,shared,bmionly" CACHE STRING "")
|
||||
set(CMake_TEST_TLS_VERIFY_URL "https://gitlab.kitware.com" CACHE STRING "")
|
||||
set(CMake_TEST_TLS_VERSION "1.3" CACHE STRING "")
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "")
|
||||
set(CMake_TEST_ISPC "ON" CACHE STRING "")
|
||||
endif()
|
||||
set(CMake_TEST_MODULE_COMPILATION "named,compile_commands,collation,partitions,internal_partitions,export_bmi,install_bmi,shared,bmionly" CACHE STRING "")
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake")
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
set(CMake_TEST_MODULE_COMPILATION "named,compile_commands,collation,partitions,internal_partitions,export_bmi,install_bmi,bmionly" CACHE STRING "")
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake")
|
|
@ -1,3 +0,0 @@
|
|||
set(CMake_TEST_MODULE_COMPILATION "named,compile_commands,collation,partitions,internal_partitions,export_bmi,install_bmi,bmionly" CACHE STRING "")
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake")
|
|
@ -1,9 +0,0 @@
|
|||
FROM fedora:38
|
||||
MAINTAINER Ben Boeckel <ben.boeckel@kitware.com>
|
||||
|
||||
# Install build dependencies for packages.
|
||||
COPY install_deps.sh /root/install_deps.sh
|
||||
RUN sh /root/install_deps.sh
|
||||
|
||||
COPY install_gcc.sh /root/install_gcc.sh
|
||||
RUN sh /root/install_gcc.sh
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
dnf install -y --setopt=install_weak_deps=False \
|
||||
gcc-c++ mpfr-devel libmpc-devel isl-devel flex bison file findutils diffutils git-core
|
||||
dnf clean all
|
|
@ -1,25 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
readonly revision="29862e21f6d656eca59284c927d0c4c0698eb99c" # master as of 21 Sep 2023
|
||||
readonly tarball="git://gcc.gnu.org/git/gcc.git"
|
||||
|
||||
readonly workdir="$HOME/gcc"
|
||||
readonly srcdir="$workdir/gcc"
|
||||
readonly builddir="$workdir/build"
|
||||
readonly njobs="$( nproc )"
|
||||
|
||||
mkdir -p "$workdir"
|
||||
cd "$workdir"
|
||||
git clone "$tarball" "$srcdir"
|
||||
git -C "$srcdir" checkout "$revision"
|
||||
mkdir -p "$builddir"
|
||||
cd "$builddir"
|
||||
"$srcdir/configure" \
|
||||
--disable-multilib \
|
||||
--enable-languages=c,c++ \
|
||||
--prefix="/opt/gcc-p1689"
|
||||
make "-j$njobs"
|
||||
make "-j$njobs" install-strip
|
||||
rm -rf "$workdir"
|
|
@ -431,30 +431,6 @@
|
|||
CMAKE_CONFIGURATION: hip5.5_nvidia
|
||||
CTEST_LABELS: "HIP"
|
||||
|
||||
### C++ modules
|
||||
|
||||
.gcc_cxx_modules_x86_64:
|
||||
image: "kitware/cmake:ci-gcc_cxx_modules-x86_64-2023-09-21"
|
||||
|
||||
variables:
|
||||
GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci"
|
||||
CMAKE_ARCH: x86_64
|
||||
CC: "/opt/gcc-p1689/bin/gcc"
|
||||
CXX: "/opt/gcc-p1689/bin/g++"
|
||||
|
||||
.gcc_cxx_modules_ninja:
|
||||
extends: .gcc_cxx_modules_x86_64
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: linux_gcc_cxx_modules_ninja
|
||||
|
||||
.gcc_cxx_modules_ninja_multi:
|
||||
extends: .gcc_cxx_modules_x86_64
|
||||
|
||||
variables:
|
||||
CMAKE_CONFIGURATION: linux_gcc_cxx_modules_ninja_multi
|
||||
CMAKE_GENERATOR: "Ninja Multi-Config"
|
||||
|
||||
### Debian 10 legacy packages
|
||||
|
||||
.debian10:
|
||||
|
|
Loading…
Reference in New Issue