Commit Graph
1119 Commits
Author SHA1 Message Date
Brad King 7fe4731509 Merge topic 'ci-tart-test-load'
7f4c2d3c21 ci: do not limit testing based on load in a `tart` runner

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12331
2026-07-28 09:37:20 -04:00
Ben Boeckel 7f4c2d3c21 ci: do not limit testing based on load in a tart runner
Observations are seeing stalls of up to 2 minutes waiting for the VM to
become quiescent enough to start tests.
2026-07-27 09:50:53 -04:00
Ben Boeckel 39f37e4d32 gitlab-ci: move macOS x86_64 jobs back to shell runners
CMake has been observing crashes under Rosetta for its x86_64 jobs.
Additionally, `tart` has significant overhead when running Rosetta
work compared to bare metal.
2026-07-22 10:01:06 -04:00
Ben Boeckel 5fb82df1ec gitlab-ci: move macOS nonconcurrent jobs to tart runners
`tart` uses VMs to execute jobs instead of running directly on the host.
Leave `macos-x86_64` `concurrent` jobs as `shell` runners so that there
is still testing on actual Intel hardware.
2026-07-21 11:23:43 -04:00
Ben Boeckel 775ddcecd7 gitlab-ci: move macOS nonconcurrent jobs to tart runners
`tart` uses VMs to execute jobs instead of running directly on the host.
Leave `macos-x86_64` `concurrent` jobs as `shell` runners so that there
is still testing on actual Intel hardware.
2026-07-19 23:30:21 -04:00
Sharadh Rajaraman 1610aa22f4 Clang: Add support for import std when targeting the MSVC ABI
When Clang targets the MSVC ABI, discover the MSVC standard library's
import-std metadata discovery through the MSVC module logic.  Also
extend the latter to use `CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES`
and honor `CMAKE_CXX_STDLIB_MODULES_JSON`.

Closes: #26761
Signed-off-by: Sharadh Rajaraman <r.sharadh@outlook.sg>
2026-07-08 16:55:21 -04:00
Brad King a5f4e2a461 Merge topic 'test-bootstrap-args'
1853cd2bc1 Tests: Add option to control bootstrap arguments in BootstrapTest
da073c667f ci: Update name of option to skip BootstrapTest

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12234
2026-07-01 09:27:39 -04:00
Brad King 9c2b5591cb ci: Update macos-arm64 jobs to use Xcode 26.6 2026-06-30 13:06:25 -04:00
Brad King da073c667f ci: Update name of option to skip BootstrapTest
Account for commit 21df34b255 (Tests: Modernize name of option to
control existence of BootstrapTest, 2023-05-18, v3.27.0-rc1~79^2~1).
2026-06-30 09:22:49 -04:00
Brad King b44a9da290 ci: Update Windows builds to MSVC 14.51 toolset 2026-06-03 11:24:10 -04:00
Brad King 36d66627f3 Merge topic 'ci-xcode-26.5'
8f1a5db191 ci: Update macos-arm64 jobs to use Xcode 26.5

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12118
2026-05-29 09:20:57 -04:00
Brad King 8f1a5db191 ci: Update macos-arm64 jobs to use Xcode 26.5 2026-05-28 14:48:09 -04:00
Brad King 645ca80972 Merge topic 'rust-make'
1102abd224 ci: Enable Rust tests in Fedora + Unix Makefiles configuration
03ac6b9c2b Rust: Update experimental UUID
8154a4bc5c Rust: Add support for compiling Rust with Makefile generator

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12105
2026-05-27 11:45:23 -04:00
Brad King db63557d6a Merge topic 'skip-compiler-check-support'
11adb3b7ae Linker/Windows-MSVC: check for a non-empty linker version
32c12e6901 Modules/CMakeLANGCompiler.cmake.in: quote linker version and frontend variant
31946711d3 CMakeDetermineCompilerSupport: support skipping compiler feature checks
71d908010f Modules/DetermineCompiler: support skipping compiler checks
e267321f93 Modules/DetermineCompiler: avoid the cache for ABI compilations
94f4c64461 Tests/RunCMake/ToolchainSkipsChecks: add tests for skipping compiler checks

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11917
2026-05-26 16:12:35 -04:00
Baudouin Feildel 1102abd224 ci: Enable Rust tests in Fedora + Unix Makefiles configuration 2026-05-25 22:18:25 +02:00
Brad King 7524813c18 ci: Add OrangeC 7.10 nightly CI job 2026-05-21 11:06:48 -04:00
Brad King 8c91584b5e ci: Drop OrangeC patch version from job names 2026-05-21 11:06:30 -04:00
Brad King c6c57360f1 Merge topic 'ci-cuda-13.2'
277a2413e3 ci: add job testing cuda13.2 with nvcc
cfa5e7e58b ci: add cuda13.2 base image

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12056
2026-05-19 13:52:30 -04:00
Ben Boeckel 94f4c64461 Tests/RunCMake/ToolchainSkipsChecks: add tests for skipping compiler checks
There is interest in being able to craft a toolchain file that skips all
(relatively expensive) `try_*` commands during compiler detection. Add
tests which:

- discover the toolchain for a language
- write a toolchain file using that knowledge
- add a test that uses the toolchain file
- verify that the toolchain file-using test performs no `try_*` commands
  by inspecting the configure log

There are also checks which use `execute_process`, but these are far
less expensive and not a worry at the moment.
2026-05-18 23:49:43 -04:00
Brad King 6ecc65d70b ci: Add LLVM/Flang to LLVM/Clang nightly CI jobs on Windows
LLVM/Flang is available in releases on Windows now.
2026-05-15 18:38:58 -04:00
Brad King 277a2413e3 ci: add job testing cuda13.2 with nvcc 2026-05-13 17:16:55 -04:00
Brad King cfa5e7e58b ci: add cuda13.2 base image
Include support for:

* clang compiler
* cross-compiling to aarch64
2026-05-13 16:43:17 -04:00
Brad King 64fc2f8089 Merge topic 'ctest-llvm-cov'
a79ac015c6 ctest: Merge llvm-cov's .profraw files into a .profdata file for each test
5494697ed1 Tests: Add case for llvm-cov usage by ctest command line modes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12007
2026-05-12 10:32:10 -04:00
Brad King b7e07daad4 ci: Add PellesC 13.01 x86 nightly CI job
Issue: #21536
2026-05-11 14:55:38 -04:00
Brad King 414df30295 ci: Rename PellesC 13.01 x64 nightly CI job to be arch-specific
Issue: #21536
2026-05-11 14:55:38 -04:00
Joseph Snyder a79ac015c6 ctest: Merge llvm-cov's .profraw files into a .profdata file for each test
If the CTEST_TEST_COVERAGE_TOOL is set to LLVM-COV, use the
`llvm-profdata --merge` functionality to collect the `.profraw` files
generated by running each test into a combined `.profdata` file.
This is the file that could be used to parse or display coverage
information for each test.

Issue: #26932
2026-05-11 11:33:41 -04:00
Brad King 05b446c2ed Merge topic 'pellesc-default-flags'
12e6c14e69 PellesC: Add default -Ze flag to support compilation against Windows APIs
9db2cf5429 PellesC: Add default compilation and link flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12000
2026-05-05 10:48:32 -04:00
Brad King f95c3c1ac0 ci: Update Clang HIP/CUDA wrappers for C++ 26 with libstdc++ 16 on Fedora 44 2026-05-04 19:42:22 -04:00
Brad King 22a0b461dc ci: use Fedora 44 images and environments 2026-05-04 19:42:22 -04:00
Brad King 33421d31e3 ci: update Fedora base images to Fedora 44
Also update to typos 1.45.2.
2026-05-04 19:42:21 -04:00
Brad King 5182cd415d ci: Update to BullseyeCoverage 9.25.1 2026-05-04 19:42:21 -04:00
Brad KingandSerguei E. Leontiev 12e6c14e69 PellesC: Add default -Ze flag to support compilation against Windows APIs
The Pelles C compiler requires MS extensions to support `__declspec`
and other constructs needed to use Windows APIs.  Unfortunately the
flag also disables standard definitions, so restore them.

Issue: #21536
Co-authored-by: Serguei E. Leontiev <leo@sai.msu.ru>
2026-05-04 10:47:08 -04:00
Brad King a258686cf4 Merge topic 'ci-pvs-studio'
7ddd46bb7b ci: Add PVS-Studio linting
b7105edd72 ci: Add scripts to install PVS-Studio in Linux jobs
3748deda58 pvs-studio: Add .pvsconfig exclusion file

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11909
2026-04-30 08:58:11 -04:00
Brad King 2fc92847aa Merge topic 'ci-cmake-update'
2f2b0f04de ci: Update CMake version to 4.3.2

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !11993
2026-04-30 08:52:42 -04:00
Brad King 9c6508228b Merge topic 'ci-rvm-source'
05bd3e5437 ci: Validate that the rvm-installer comes from the correct source

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11988
2026-04-30 08:51:01 -04:00
Brad KingandMartin Duffy 7ddd46bb7b ci: Add PVS-Studio linting
It requires a license, so run it only in continuous and nightly
pipelines where we can make the license available.

Co-authored-by: Martin Duffy <martin.duffy@kitware.com>
2026-04-29 18:29:44 -04:00
Brad King b7105edd72 ci: Add scripts to install PVS-Studio in Linux jobs 2026-04-29 18:22:36 -04:00
Brad King 2f2b0f04de ci: Update CMake version to 4.3.2 2026-04-29 14:34:05 -04:00
Robert Maynard 05bd3e5437 ci: Validate that the rvm-installer comes from the correct source
Based on guidance from https://rvm.io/rvm/security to make sure
we get rvm-installer from the correct source.
2026-04-28 15:37:50 -04:00
Brad King da33d606e6 PellesC: Add support for C language standards
Issue: #21536
Inspired-by: Serguei E. Leontiev <leo@sai.msu.ru>
2026-04-27 13:48:49 -04:00
Brad King b3138fce0f Tests/CompileFeatures: Cover <LANG>_STANDARD properties
Extend commit c37e279014 (Tests/CompileFeatures: Cover c_std_## and
cxx_std_## meta-features, 2024-04-02, v3.30.0-rc1~279^2~1) to cover the
per-language standard level target properties.
2026-04-24 11:29:42 -04:00
Tyler Yankee 550a8c16ae ci: Use strict GCC options on merge requests
Migrate over the incidental non-coverage-specific options from our GCC
Gcov job to Fedora Ninja on merge requests to reduce development latency.
2026-04-16 09:24:09 -04:00
Brad King a7ea25f7b6 ci: Simplify construction of compile and link flags for gcov job 2026-04-16 09:24:05 -04:00
Brad King 883e82aa7e ci: Update NVHPC to version 26.3
It uses CUDA 13.2, which requires GPU arch 75 or above.
2026-04-14 16:29:10 -04:00
Brad King e42108793c Merge topic 'ci-inst-uuid'
7c42602e90 ci: Remove experimental UUID for instrumentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11907
2026-04-12 08:09:42 -04:00
Brad King 640b6b3c2f Merge topic 'pellesc-compiler'
3f616f479a ci: Add PellesC 13.01 nightly CI job
b19ebdc45f ci: Add script to repackage Pelles C compilers
b7a5f2732d PellesC: Add minimal support for this C compiler
6e16757d07 Tests: Add options to select languages for external testing

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11898
2026-04-10 11:40:57 -04:00
Tyler Yankee 7c42602e90 ci: Remove experimental UUID for instrumentation
As of commit 95dc40d8a8 (Experimental: Remove Instrumentation
experimental gating, 2026-02-03) this is no longer needed.
2026-04-07 09:45:32 -04:00
Brad King 3f616f479a ci: Add PellesC 13.01 nightly CI job
Issue: #21536
2026-04-07 09:43:24 -04:00
Brad King b19ebdc45f ci: Add script to repackage Pelles C compilers
Pelles C compilers are provided only via installer executables.
Add a script to repackage the parts we need for CMake's CI jobs.

Issue: #21536
2026-04-07 09:43:24 -04:00
Brad King 78a005e87b Merge topic 'ci-xcode-26.4'
ae6506346f Merge branch 'backport-4.2-ci-xcode-26.4' into ci-xcode-26.4
bd14ba1d9c Merge branch 'backport-3.31-ci-xcode-26.4' into backport-4.2-ci-xcode-26.4
97913e9fb8 Merge branch 'backport-3.31-ci-xcode-26.4' into backport-4.2-ci-xcode-26.4
be4f6451f9 Tests/RunCMake/LinkStatic: Update for Xcode 26.4
56c4fb8b3d ci: Update macos-arm64 jobs to use Xcode 26.4
20361a0589 Tests/RunCMake/CMP0156: Update for Xcode 26.4
8b92847daf Xcode: Fix target ordering operator to meet std::sort requirements
aa942cd81f CTestCustom: Ignore warnings about zstd objects and libs with no symbols
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11893
2026-04-04 15:25:25 -04:00