Commit Graph
1133 Commits
Author SHA1 Message Date
Brad King de0e35d84d Merge topic 'devcontainer'
f1b6b3a6f0 devcontainer: Run local customization hooks through the container's life
3cfbea10e4 devcontainer: Name the workspace path explicitly
f8f4dc7f43 gitlab-ci: add a job to verify the devcontainer in CI
ea0667e779 ci: add scripts to run and verify the devcontainer
9c17332601 devcontainer: Add `clang-tidy`, `clang-tools`, and `clazy`
a8872df649 devcontainer: Add `clang`, `gfortran`, and `valgrind`
8bd053379f devcontainer: Reword the comment on caching package downloads
7ae5c3cfb2 devcontainer: Add the Kitware APT repository
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12423
2026-09-11 08:36:11 -04:00
Ben Boeckel f8f4dc7f43 gitlab-ci: add a job to verify the devcontainer in CI 2026-09-08 16:26:08 +00:00
Ben BoeckelandTaylor Braun-Jones ea0667e779 ci: add scripts to run and verify the devcontainer
Co-authored-by: Taylor Braun-Jones <taylor@braun-jones.org>
2026-09-08 16:26:02 +00:00
Robert Maynard 5b416cbe77 ci: add job testing cuda13.2 with clang 2026-09-03 13:26:46 -04:00
Robert Maynard 64dac60df9 ci: Update cuda13.2-x86_64 base image to clang-23 2026-09-03 13:26:45 -04:00
Alex Turbov 76a8381c98 ci(pre-commit): version bump typos hook + fix found typos 2026-08-29 05:26:37 +04:00
Tyler Yankee 1b1225a766 ci: Enable Sphinx copybutton for cmake.org and Sphinx jobs 2026-08-21 09:43:48 -04:00
Brad King 6e2301357d ci: Add sphinx-copybutton extension to Fedora base image
Make it available to our documentation jobs.
2026-08-21 09:43:48 -04:00
Brad King 1bf4e65318 ci: Exclude RunCMake.ctest_test test from valgrind job
The test takes too long under valgrind and regularly times out.
2026-08-10 09:58:33 -04:00
Brad King a68a98f622 ci: Exclude RunCMake.Instrumentation test from valgrind job
The test takes too long under valgrind and regularly times out.
2026-07-31 10:39:06 -04:00
Brad King ddcd6ab81d ci: Sort test exclusions in valgrind job 2026-07-31 10:38:10 -04:00
Brad King 7d408ff993 ci: Drop outdated test exclusion from valgrind job
This was missed in commit 93449833ff (RunCMake/CXXModulesCompile: split
into 3 variants, 2026-05-21, v4.4.0-rc1~101^2~1).
2026-07-31 10:37:23 -04:00
Brad King f4341b03e2 Merge topic 'ci-tart-image'
0abb5d7f99 ci: update to a reduced macos base image for jobs on tart runners

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12341
2026-07-30 11:21:39 -04:00
Brad King 0abb5d7f99 ci: update to a reduced macos base image for jobs on tart runners
We have a new image that removes unnecessary macOS services and
leftover setup files.
2026-07-29 10:37:48 -04:00
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