Kitware Robot
8683efde41
CMake Nightly Date Stamp
2026-09-19 00:05:32 -04:00
Brad King
670f62d10d
Merge topic 'cmake_path-empty-prefix'
...
7192a2b798 cmake_path: An empty path is not a prefix of any path
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12493
2026-09-18 08:16:12 -04:00
Brad King
6016b9d793
Merge topic 'fortran-preprocess-upper'
...
ff39abb378 Fortran: Teach lexer about Intel's upper-case preprocessor directives
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12521
2026-09-18 08:14:20 -04:00
Brad King
f9ae489598
Merge topic 'cdash-instrumentation-proc-metrics'
...
01fa1984e5 instrumentation: Send processMetrics data to CDash
68e2a3e793 instrumentation: Rename userTime and systemTime fields to exclude units
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Tyler Yankee <tyler.yankee@kitware.com >
Merge-request: !12514
2026-09-18 08:11:50 -04:00
Brad King
50b4f2f8bb
Merge topic 'instrumentation-test-fix-spam'
...
ff48c8d4d2 Tests/Instrumentation: Fix exponential output spam from validate_json_schema
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !12515
2026-09-18 08:10:10 -04:00
Brad King
18fac8b212
Merge topic 'compiler-binutils'
...
047c617a77 Modules/Compiler: Prefer companion tools adjacent to compiler
ccf42522b8 Modules/Compiler: Improve formatting of code finding companion tools
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !12510
2026-09-18 08:09:00 -04:00
Brad King
fb4bab8ee5
Merge topic 'ninja-codegen-deps-fix'
...
2d85779126 Ninja: Account for explicit target dependencies via CODEGEN
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12512
2026-09-18 08:07:25 -04:00
Brad King
6f03832272
Merge topic 'install-args-move'
...
789138ae3d install(TARGETS): Avoid copying command arguments internally
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12516
2026-09-18 08:04:20 -04:00
Brad King
9a47243f88
Merge branch 'release-4.4'
2026-09-18 08:01:43 -04:00
Brad King
653cac1ebf
Merge topic 'doc-interface-dash'
...
0871947862 Help: Remove spurious hyphen from cmake-buildsystem(7) references
ba67e946eb Help/INTERFACE_LINK_DEPENDS: Reference genexes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12518
2026-09-18 08:01:43 -04:00
Brad King
72ae01edce
Merge topic 'doc-interface-dash' into release-4.4
...
0871947862 Help: Remove spurious hyphen from cmake-buildsystem(7) references
ba67e946eb Help/INTERFACE_LINK_DEPENDS: Reference genexes
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12518
2026-09-18 08:01:41 -04:00
Brad King
378f5a01a9
Merge branch 'release-4.4'
2026-09-18 07:59:56 -04:00
Brad King
ab46a992e5
Merge topic 'ctest-dashboard-preset-env'
...
27f28db197 Help: Clarify CTEST_NO_TESTS_ACTION support and interaction
a235560e53 Help: Clarify interaction between CTest parallelism toggles
f745dd11ab ctest: Respect test envvars set by CTEST_PRESET
277236a99a cmCTestTestCommand: Factor out preset resolution
81b46d87ba cmCTest: Factor out environment variable handling
4e81913645 Tests: Fix unset(ENV{...}) typos
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12495
2026-09-18 07:59:56 -04:00
Brad King
5974bf5289
Merge topic 'ctest-dashboard-preset-env' into release-4.4
...
27f28db197 Help: Clarify CTEST_NO_TESTS_ACTION support and interaction
a235560e53 Help: Clarify interaction between CTest parallelism toggles
f745dd11ab ctest: Respect test envvars set by CTEST_PRESET
277236a99a cmCTestTestCommand: Factor out preset resolution
81b46d87ba cmCTest: Factor out environment variable handling
4e81913645 Tests: Fix unset(ENV{...}) typos
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12495
2026-09-18 07:59:54 -04:00
Kitware Robot
08bde1b972
CMake Nightly Date Stamp
2026-09-18 00:06:46 -04:00
Brad King
ff39abb378
Fortran: Teach lexer about Intel's upper-case preprocessor directives
...
Intel Fortran's preprocessor supports upper-case preprocessor
directives (but not mixed-case).
Fixes : #28098
2026-09-17 15:20:23 -04:00
Martin Duffy
01fa1984e5
instrumentation: Send processMetrics data to CDash
2026-09-17 10:29:06 -04:00
Martin Duffy
68e2a3e793
instrumentation: Rename userTime and systemTime fields to exclude units
...
Drop the "USec" suffix from these fields for consistency with other
instrumentation fields which do not include units.
2026-09-17 10:10:31 -04:00
Mickaël Germain
7192a2b798
cmake_path: An empty path is not a prefix of any path
...
cmake_path(IS_PREFIX) and $<PATH:IS_PREFIX> treated an empty path as a
prefix of every path, including another empty path, following
std::filesystem::path. A prefix that is empty because a variable was
set to an empty value, or because a generator expression argument
expanded to nothing, therefore satisfied a check meant to reject it.
Return false for an empty prefix, in cmCMakePath::IsPrefix so that every
caller shares one implementation and both the plain and NORMALIZE forms
are covered. Normalizing an empty path leaves it empty, so no separate
handling of NORMALIZE is needed. Unlike the component comparison, which
follows std::filesystem::path deliberately, IsPrefix has no counterpart
in the standard: it borrows path iteration but the predicate itself is
defined by CMake, so an empty prefix is a gap to fill rather than a
standard answer to override.
Add policy CMP0223 and restore the old result behind it at the two
released surfaces. The other callers of IsPrefix, source_group() and
the Makefile generator's source classification, take the new behavior
ungated: source_group() rejects an empty TREE argument before reaching
it, and the generator passes the source and binary directories.
The if(PATH_IS_PREFIX) operator, new in this same release, follows the
policy too rather than simply taking the new behavior, so that it agrees
with cmake_path(IS_PREFIX) in every policy state and the parity
assertions in its test hold unconditionally.
Fixes : #28077
2026-09-17 10:05:27 -04:00
Tyler Yankee
0871947862
Help: Remove spurious hyphen from cmake-buildsystem(7) references
2026-09-17 09:15:50 -04:00
Tyler Yankee
ba67e946eb
Help/INTERFACE_LINK_DEPENDS: Reference genexes
2026-09-17 09:15:26 -04:00
Kitware Robot
833d9466d7
CMake Nightly Date Stamp
2026-09-17 00:05:34 -04:00
Brad King
789138ae3d
install(TARGETS): Avoid copying command arguments internally
...
Follow up commit 21cc5937c1 (install(TARGETS): Factor out reusable
helpers with config-specific support, 2026-09-10) to avoid copying the
categorized argument groups unnecessarily.
2026-09-16 16:36:00 -04:00
Brad King
a30ad325f4
Merge topic 'instrumentation-cdash-file-check'
...
77443e7258 instrumentation: Don't expect staged CDash files when cdashSubmit is disabled
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Tested-by: Aiden Woodruff <aiden.woodruff@kitware.com >
Merge-request: !12508
2026-09-16 14:39:28 -04:00
Brad King
61a28e735b
Merge topic 'clang-cuda-offload-warn-unsupported'
...
616f65b379 Clang/CUDA: Warn when using offloading driver with RDC + PTX
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12500
2026-09-16 13:44:17 -04:00
Martin Duffy
ff48c8d4d2
Tests/Instrumentation: Fix exponential output spam from validate_json_schema
...
Schema validations in Tests/Instrumentation called add_error("${RunCMake_TEST_FAILED}")
in a loop. Because add_error itself appends the input to RunCMake_TEST_FAILED, this
resulted in exponential growth of error messages on each loop iteration, filling the
test log with duplicate errors.
Isolate error messages from validate_json_schema to avoid exponential duplication.
2026-09-16 13:12:03 -04:00
Tyler Yankee
27f28db197
Help: Clarify CTEST_NO_TESTS_ACTION support and interaction
2026-09-16 09:51:11 -04:00
Tyler Yankee
a235560e53
Help: Clarify interaction between CTest parallelism toggles
2026-09-16 09:51:10 -04:00
Tyler Yankee
f745dd11ab
ctest: Respect test envvars set by CTEST_PRESET
...
Note the special attention given to support CTest environment variables
from inside a test preset's `environment` field.
Fixes : #28079
2026-09-16 09:34:43 -04:00
Tyler Yankee
277236a99a
cmCTestTestCommand: Factor out preset resolution
...
Prepare for a future commit which will reuse this functionality. Add a
structure to hold the resolved fields so that we can more easily
distinguish between errors during preset resolution and cases when
presets simply aren't used.
2026-09-16 09:05:32 -04:00
Tyler Yankee
81b46d87ba
cmCTest: Factor out environment variable handling
2026-09-16 09:05:19 -04:00
Tyler Yankee
4e81913645
Tests: Fix unset(ENV{...}) typos
2026-09-16 08:51:36 -04:00
Kitware Robot
27408540d4
CMake Nightly Date Stamp
2026-09-16 00:05:39 -04:00
Brad King
7e798bb389
Merge topic 'cmake-gui-preset-apply-ordering'
...
fdc2c2b9c7 cmake-gui: settle preset application before Configure/Generate
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12502
2026-09-15 11:29:28 -04:00
Robert Maynard
616f65b379
Clang/CUDA: Warn when using offloading driver with RDC + PTX
...
Fixes : #28084
2026-09-15 11:01:04 -04:00
Tyler Yankee
2d85779126
Ninja: Account for explicit target dependencies via CODEGEN
...
When a "normal" target (e.g., an executable) depends on a custom target
that is not part of `all`, and that custom target owns the output of a
custom command marked `CODEGEN`, an explicit `add_dependencies` from
the normal to custom target must be incorporated in `codegen`.
Amends commit 197cb419d1 (add_custom_command: Add CODEGEN support,
2024-05-27, v3.31.0-rc1~394^2), which already incorporated such logic
in the Unix Makefile generator, but was not tested nor implemented for
Ninja.
Fixes : #28092
2026-09-15 10:34:09 -04:00
Brad King
8b8d185b42
Merge topic 'ci-linkcheck'
...
246e72e4a9 Help: Replace OpenBLAS links with their permanent redirects
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12511
2026-09-15 10:13:36 -04:00
Brad King
a07b6e2a4d
Merge topic 'improve-install-code-script'
...
2673161b67 install: Improve documentation, argument parsing
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12501
2026-09-15 09:58:50 -04:00
Brad King
b0499f43d0
Merge topic 'Sources-various-enhancements'
...
bc4e849e50 cmValue: introduce constants cmValue::True and cmValue::False
a570ee4c8f cmPlaceHolderExpander: Add recognition of genex
b53f05cd8c cmArgumentParser: enhance multi command management
a53691b73a cmCustomCommand: reduce raw pointer usage
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !12506
2026-09-15 09:55:15 -04:00
Brad King
7b5df521e8
Merge topic 'reduce-realloc'
...
c8b93b9db6 Source: Reduce string allocations
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !12503
2026-09-15 09:49:34 -04:00
Brad King
3be3bae3ad
Merge topic 'doc-D-list'
...
beec3faeee Help: Add note to avoid trailing backslashes in paths passed via `cmake -D`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: AnyOldName3 <krizdjali@gmail.com >
Merge-request: !12507
2026-09-15 09:44:05 -04:00
Brad King
c012ec02cc
Merge topic 'test-cuda'
...
6131353bff Tests/Cuda: Skip unsupported case using Clang offloading driver with RDC + PTX
91f4a420cd Tests/Cuda: Remove redundant condition
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Robert Maynard <robertjmaynard@gmail.com >
Merge-request: !12505
2026-09-15 09:38:23 -04:00
Brad King
047c617a77
Modules/Compiler: Prefer companion tools adjacent to compiler
...
Previously a versioned name in a later search path was preferred
over an unversioned name adjacent to the compiler. Consider all
names in each directory before moving to the next directory.
2026-09-15 08:46:25 -04:00
Brad King
ccf42522b8
Modules/Compiler: Improve formatting of code finding companion tools
2026-09-15 08:43:43 -04:00
Brad King
246e72e4a9
Help: Replace OpenBLAS links with their permanent redirects
2026-09-15 08:23:58 -04:00
Kitware Robot
d099b15c62
CMake Nightly Date Stamp
2026-09-15 00:08:13 -04:00
Craig Scott
15e476809c
Merge topic 'fetchcontent-custom-command-verbosity-change'
...
d410092ece FetchContent: Move log level detection into step script
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Acked-by: Claus Klein <claus.klein@arcormail.de >
Merge-request: !12504
2026-09-14 17:42:28 -04:00
Martin Duffy
77443e7258
instrumentation: Don't expect staged CDash files when cdashSubmit is disabled
2026-09-14 15:38:40 -04:00
Brad King
beec3faeee
Help: Add note to avoid trailing backslashes in paths passed via cmake -D
...
Closes : #28089
2026-09-14 13:51:52 -04:00
Marc Chevrier
bc4e849e50
cmValue: introduce constants cmValue::True and cmValue::False
2026-09-14 18:24:48 +02:00