Commit Graph
75872 Commits
Author SHA1 Message Date
Brad King 063b4e4aa5 Merge branch 'release-4.3' 2026-06-03 09:51:48 -04:00
Brad King 3b85f214d2 Merge topic 'instrumentation-data-version-minor'
f5a0f6478e Merge branch 'backport-instrumentation-data-version-minor' into instrumentation-data-version-minor
dcf146c34d instrumentation: Revise Data Version format
df36317176 instrumentation: Revise Data Version format

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12117
2026-06-03 09:51:48 -04:00
Brad King e202972b06 Merge topic 'instrumentation-data-version-minor' into release-4.3
df36317176 instrumentation: Revise Data Version format

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12117
2026-06-03 09:51:46 -04:00
Kitware Robot 80f1d73512 CMake Nightly Date Stamp 2026-06-03 00:05:42 -04:00
Brad King bd870ef98f Merge topic 'swift-sizeof-void-p'
a82e3e3aaf Swift: Verify setting sizeof_void_p
8682afd971 Swift: Extract pointer size from Swift compiler

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12125
2026-06-02 09:27:23 -04:00
Brad King bdad2cbd97 Merge topic 'parse-arguments-argn'
97c36916d9 cmake_parse_arguments: Add PARSE_ARGN mode

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12131
2026-06-02 09:26:04 -04:00
Brad King d9099418e1 Merge topic 'flang-ipo'
9573345dec LLVMFlang: Enable ThinLTO support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12123
2026-06-02 09:24:12 -04:00
Brad King db0a8ee741 Merge topic 'ctest_cli_initial_configure'
9a0010eef2 ctest: add --source-dir argument to enable initial configure

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12121
2026-06-02 09:22:14 -04:00
Brad King 4bcb0a1dfa Merge topic 'fix-cmp0211-doc'
228795753f FILE_SET: Fix CMP0211-related documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12119
2026-06-02 09:19:40 -04:00
Brad King fe0537fa03 Merge topic 'SKIP_PRECOMPILE_HEADERS-fileset-property'
c06d409f12 FILE_SET: add SKIP_PRECOMPILE_HEADERS property support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12129
2026-06-02 09:17:53 -04:00
Brad King f4c858d328 Merge topic 'multi_export_sbom'
2900aa2911 SBOM: Update experimental UUID
273fc4cc49 SBOM: Support multi export set SBOMs
9669829573 Install: Refactor ResolveTargetsInGeneratorExpression
7c31cbf9ae SBOM: Handle PACKAGE_URL argument

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12080
2026-06-02 09:15:40 -04:00
Brad King af125c28f3 Merge topic 'builddb-source-properties-support'
831566997b Build database: add missing source file properties

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12128
2026-06-02 09:12:11 -04:00
Brad King 6cccb84baa Merge topic 'LINKER_PUSHPOP_STATE_SUPPORTED-detection-update'
1ca1095736 Linker: enhance pushpop-state detection

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12127
2026-06-02 09:10:13 -04:00
Brad King c07ac2b941 Merge topic 'macro-argument-escape'
9d2e85373a macro: Add policy to preserve backslashes in arguments

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11734
2026-06-02 09:06:21 -04:00
Martin Duffy f5a0f6478e Merge branch 'backport-instrumentation-data-version-minor' into instrumentation-data-version-minor
Use the `-s ours` merge strategy because both sides have already
made equivalent changes.
2026-06-02 08:55:37 -04:00
Martin Duffy dcf146c34d instrumentation: Revise Data Version format
Give data version the new format <major>.<minor>, so that
the version can be incremented with the introduction of new
features without bumping the major version.

Add support for loading instrumentation JSON queries of unknown
data versions without error.

Issue: #27833
2026-06-02 08:55:20 -04:00
Martin Duffy df36317176 instrumentation: Revise Data Version format
Give data version the new format <major>.<minor>, so that
the version can be incremented with the introduction of new
features without bumping the major version.

Add support for loading instrumentation JSON queries of unknown
data versions without error.

Issue: #27833
2026-06-02 08:53:21 -04:00
Kitware Robot bb8e72e667 CMake Nightly Date Stamp 2026-06-02 00:05:24 -04:00
Arha Gatram 97c36916d9 cmake_parse_arguments: Add PARSE_ARGN mode
Introduce a mode similar to `PARSE_ARGV` that avoids needing
to specify the number of normal function arguments.

Closes: #25376
2026-06-01 18:06:25 -04:00
Kelvin Li 9573345dec LLVMFlang: Enable ThinLTO support
Fixes: #27839
2026-06-01 15:28:01 -04:00
Zack Galbreath 9a0010eef2 ctest: add --source-dir argument to enable initial configure
Add the --source-dir argument to ctest to allow it to perform an initial
configuration step for an empty binary directory when operating in
dashboard client mode.
2026-06-01 14:11:46 -04:00
Marc Chevrier c06d409f12 FILE_SET: add SKIP_PRECOMPILE_HEADERS property support 2026-06-01 18:39:23 +02:00
Tom Osika 2900aa2911 SBOM: Update experimental UUID 2026-06-01 12:27:13 -04:00
Tom Osika 273fc4cc49 SBOM: Support multi export set SBOMs 2026-06-01 12:27:13 -04:00
Brad King 61d313a541 Merge topic 'ctest_honor_all_definitions'
7dc39e7221 ctest: prioritize presets over existing DartConfiguration.tcl commands
ba768963e5 ctest: honor all -D definitions in command-line dashboard client mode

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12120
2026-06-01 10:57:15 -04:00
Marc Chevrier 831566997b Build database: add missing source file properties 2026-06-01 16:53:08 +02:00
Marc Chevrier 1ca1095736 Linker: enhance pushpop-state detection
Fixes: #27822
2026-06-01 16:50:34 +02:00
Brad King 53198548ea Merge topic 'builddb-fileset-properties-support'
b81321f9db Build database: add file set flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12111
2026-06-01 10:50:01 -04:00
Kitware Robot dac8665889 CMake Nightly Date Stamp 2026-06-01 00:05:54 -04:00
Alex Reinking 9d2e85373a macro: Add policy to preserve backslashes in arguments
Preserve backslashes in arguments passed to macros by re-escaping
them before substituting in the macro body, where they will be
parsed again.

Fixes: #19281, #22157, #23641, #25803, #27645, #20891
2026-05-31 14:36:15 -04:00
Kitware Robot 85e2c275bd CMake Nightly Date Stamp 2026-05-31 00:05:11 -04:00
Kitware Robot 936afa9823 CMake Nightly Date Stamp 2026-05-30 00:05:05 -04:00
Evan Wilde a82e3e3aaf Swift: Verify setting sizeof_void_p
Adding a test to verify that we are setting the data pointer size and
`CMAKE_SIZEOF_VOID_P` in a test that only enables Swift.
2026-05-29 15:15:46 -07:00
Evan Wilde 8682afd971 Swift: Extract pointer size from Swift compiler
The target info in Swift 6.2 and newer supports emitting the pointer
size for a given target triple. We can use that to set the Swift data
pointer size, and the `CMAKE_SIZEOF_VOID_P`.

Fixes: #26649
2026-05-29 15:15:43 -07:00
Zack Galbreath 7dc39e7221 ctest: prioritize presets over existing DartConfiguration.tcl commands
CMake writes ConfigureCommand and MakeCommand entries into
DartConfiguration.tcl when configuring a project that uses the CTest module.

These values prevented users from being able to use configure/build presets
in dashboard client mode from a pre-configured build directory.

This commit updates ctest_configure() and ctest_build() to ignore
CTEST_CONFIGURE_COMMAND / CTEST_BUILD_COMMAND when a preset is specified.
This allows the requested preset to be honored.
2026-05-29 11:40:47 -04:00
Zack Galbreath ba768963e5 ctest: honor all -D definitions in command-line dashboard client mode
Commit 63b6e7d785 (ctest: allow dashboard clients to specify presets via
variables, 2026-05-26) added support for the CTEST_PRESET family of
variables that provide users with an additional method of defining what
preset to use (if any) for dashboard client steps.

However, these variables were not being honored properly when defined
on the command-line with ctest -D. This was caused by the fact that these
variables do not have a corresponding CTest configuration setting.
Instead, they are read directly using cmMakefile::GetDefinition().

To fix this, we now inject all variables defined with ctest -D into the
cmMakefile used by CTest in ProcessSteps(). This more closely matches the
existing behavior of cmCTestScriptHandler (ctest -S mode).

In addition to fixing the newly added CTEST_PRESET variables, this also
allow users to properly define CTEST_BUILD_CONFIGURATION and
CTEST_CONFIGURATION_TYPE from the command-line.
2026-05-29 11:40:47 -04:00
Brad King cd807309bf Merge topic 'findcudatoolkit-target-for-cufilt'
507b641639 FindCUDAToolkit: Add cufilt target for CUDA 11.4 and above

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Robert Maynard <robertjmaynard@gmail.com>
Merge-request: !12115
2026-05-29 09:34:58 -04:00
Brad King 4ce7fd4a04 Merge topic 'module-case-mismatch'
dadbb71492 include/find_package: Warn on case-mismatched module names

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12094
2026-05-29 09:31:43 -04:00
Brad King 3cbe1d5a91 Merge topic 'cache-doc-lookup'
7fdf315ba3 cmake: Populate help string from documentation table for -D entries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12092
2026-05-29 09:25:13 -04:00
Brad King 0c8a215fdd Merge branch 'release-4.3' 2026-05-29 09:20:57 -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 ece97c24bf Merge topic 'ci-xcode-26.5' into release-4.3
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:55 -04:00
Marc Chevrier b81321f9db Build database: add file set flags 2026-05-29 14:35:10 +02:00
Kitware Robot 43b1af11a1 CMake Nightly Date Stamp 2026-05-29 00:05:47 -04:00
Matthew Woehlke 228795753f FILE_SET: Fix CMP0211-related documentation
Commit 4f120beea9 (FILE_SET: relax file uniqueness for HEADERS type,
2026-05-10) relaxed the restriction on file uniqueness in file sets, but
did not correctly update all instances of the documentation. Change the
wording to be a bit clearer and update all instances.
2026-05-28 16:53:01 -04:00
Brad King 8f1a5db191 ci: Update macos-arm64 jobs to use Xcode 26.5 2026-05-28 14:48:09 -04:00
Arha Gatram 507b641639 FindCUDAToolkit: Add cufilt target for CUDA 11.4 and above
Fixes: #26705
2026-05-28 10:03:34 -04:00
Brad King 4d945a6491 Merge topic 'tar-xf-no-space'
359ad8469d tar: Treat 'no space left on device' as an error instead of a warning

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: scivision <michael@scivision.dev>
Merge-request: !12095
2026-05-28 09:59:07 -04:00
Brad King ef11aa9bee Merge topic 'if-invalid'
240481490c if: Diagnose invalid argument in parentheses

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12114
2026-05-28 09:57:04 -04:00
Brad King 178977176d Merge topic 'xcode-embed-multi-target-fix'
5ff6ac07e8 Xcode: Fix target-name embedding overriding code-sign attributes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12102
2026-05-28 09:54:32 -04:00