Alex Turbov
76a8381c98
ci(pre-commit): version bump typos hook + fix found typos
2026-08-29 05:26:37 +04:00
Brad King
3773fb5a46
Merge topic 'option-git'
...
95eef05f28 Add option(CMake_VERSION_NO_GIT) for broken Git or slow filesystem
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12442
2026-08-28 09:51:40 -04:00
Brad King
129c921fd0
Merge topic 'iar-fix-icstat-handler'
...
a17cbbee93 IAR: Add post-processing step in C-STAT outputs
4a8aeff8e4 IAR: Update ichecks error message
57fea01732 IAR: Fix malformed C-STAT command line
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12441
2026-08-28 09:31:26 -04:00
Brad King
c23b537168
Merge topic 'instrumentation-proc-metrics'
...
5f222e8f3a Instrumentation: Add Process Resource Usage Metrics
7204679f48 Merge branch 'upstream-KWSys' into instrumentation-proc-metrics
431a794a66 KWSys 2026-08-27 (8f4afc3e)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12381
2026-08-28 09:17:39 -04:00
Kitware Robot
68b467a889
CMake Nightly Date Stamp
2026-08-28 00:06:59 -04:00
scivision
95eef05f28
Add option(CMake_VERSION_NO_GIT) for broken Git or slow filesystem
...
Help inform user in GUI that it's possible to build CMake without Git.
This is useful for Git on Windows Subsystem for Linux or other platforms
where filesystem access for Git is very slow or Git program is broken.
Fixes : #28051
2026-08-27 11:04:55 -04:00
Brad King
e115b2047e
Merge topic 'cm_unreachable'
...
09ded3a354 Help/dev: Note cm::unreachable and CM_UNREACHABLE
f460a199e3 Source: Add and use CM_UNREACHABLE macro
be415ecb74 Source: Add std::unreachable from C++23
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !12429
2026-08-27 10:54:50 -04:00
Brad King
1ecf970fcd
Merge branch 'release-4.4'
2026-08-27 10:50:28 -04:00
Brad King
8337f4e670
Merge topic 'ibm-flang-fix'
...
fbe5bcb7d3 IBMFlang: Rename compiler modules from IBMLLVMFlang
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12443
2026-08-27 10:50:27 -04:00
Brad King
1d755eb844
Merge topic 'ibm-flang-fix' into release-4.4
...
fbe5bcb7d3 IBMFlang: Rename compiler modules from IBMLLVMFlang
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12443
2026-08-27 10:50:25 -04:00
Brad King
47c0fd1977
Merge topic 'GNUInstallDirs-no-lang'
...
78b4ffa0a7 GNUInutallDirs: Suppress LIBDIR warning for LANGUAGES NONE projects
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12440
2026-08-27 10:45:01 -04:00
Brad King
7d7a68ccd9
Merge topic 'presets_add_configurePresetName_macro'
...
02dd870535 presets: Add configurePresetName macro
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !12391
2026-08-27 10:41:06 -04:00
Brad King
ba0f16f6cb
Merge topic 'ewilde/ninja-refactor-swift-builds'
...
23b33482f1 Swift: Refactor module / object builds
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12438
2026-08-27 10:36:55 -04:00
Martin Duffy
5f222e8f3a
Instrumentation: Add Process Resource Usage Metrics
...
Issue: #26675 , #27742
2026-08-27 10:24:25 -04:00
Brad King
7204679f48
Merge branch 'upstream-KWSys' into instrumentation-proc-metrics
...
# By KWSys Upstream
* upstream-KWSys:
KWSys 2026-08-27 (8f4afc3e)
2026-08-27 10:24:22 -04:00
KWSys Upstream
431a794a66
KWSys 2026-08-27 (8f4afc3e)
...
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 8f4afc3eb87432ce47b5e6bdee5d7e432cd72736 (master).
Upstream Shortlog
-----------------
Martin Duffy (1):
81ab5b18 SystemInformation: Add ProcessResourceUsage API
2026-08-27 10:24:22 -04:00
Kitware Robot
f3e773be3e
CMake Nightly Date Stamp
2026-08-27 00:05:05 -04:00
Felipe Torrezan
a17cbbee93
IAR: Add post-processing step in C-STAT outputs
...
Harmonize IAR C-STAT headers between the first-time analysis
and subsequent builds, which uses cached results.
It also removes spurious relative paths such as `"../` and
`..\` that might appear after a new line followed by a double quote.
Effectively this will display paths relative to CMAKE_SOURCE_DIR,
similarly to the IDE, which display paths relative to $PROJ_DIR$.
Update the IAR tests to match the new C-STAT outputs.
2026-08-26 23:10:43 +02:00
Kelvin Li
fbe5bcb7d3
IBMFlang: Rename compiler modules from IBMLLVMFlang
...
These were missed in commit 4969297469 (IBMFlang: Rename compiler id
from IBMLLVMFlang, 2026-06-09, v4.4.0-rc1~7^2).
2026-08-26 16:36:13 -04:00
Felipe Torrezan
4a8aeff8e4
IAR: Update ichecks error message
...
Update the C-STAT Checks Manifest Handler to contain
explicit reference to C-STAT for facilitating diagnostics.
2026-08-26 22:35:23 +02:00
Felipe Torrezan
57fea01732
IAR: Fix malformed C-STAT command line
...
There was an issue with a malformed command line introduced in
commit c7d2a172 (IAR: Add support for C-STAT static analysis,
2025-04-08, v4.1.0-rc1~385^2), where the source file was
incorrectly passed as a parameter when executing `icstat` in
HandleIcstat(). `icstat` does not take the source file as a
direct parameter.
2026-08-26 22:18:45 +02:00
Tyler Yankee
09ded3a354
Help/dev: Note cm::unreachable and CM_UNREACHABLE
...
Encourage this pattern throughout our sources for optimization and
consistent style.
2026-08-26 13:37:01 -04:00
Tyler Yankee
f460a199e3
Source: Add and use CM_UNREACHABLE macro
...
In debug builds, we assert and abort to give more useful crashes for
development (i.e., instead of triggering UB). Otherwise, we get the
optimization benefits of `unreachable()` (or the older
platform-specific fallbacks per `cm/utility`).
2026-08-26 13:24:34 -04:00
Tyler Yankee
be415ecb74
Source: Add std::unreachable from C++23
2026-08-26 13:24:34 -04:00
rewine
78b4ffa0a7
GNUInutallDirs: Suppress LIBDIR warning for LANGUAGES NONE projects
...
Projects that explicitly use LANGUAGES NONE, e.g. to install only
data files, have no target architecture, which is intentional.
Default to `lib` without warning.
Fixes : #23461
2026-08-26 09:38:33 -04:00
Brad King
10b4bf7e1e
Merge topic 'flang-fortran-system-includes'
...
5d2974974b Flang: Do not use -isystem with classic flang
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12436
2026-08-26 09:24:06 -04:00
Brad King
6ec33a4d0a
Merge topic 'icstat-co-compile-source-file'
...
1470d96c44 IAR: Pass source file to C-STAT co-compile analysis
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12422
2026-08-26 09:21:14 -04:00
Kitware Robot
825bcff387
CMake Nightly Date Stamp
2026-08-26 00:04:54 -04:00
Maximilian Sander
02dd870535
presets: Add configurePresetName macro
...
Fixes : #28028
2026-08-25 14:33:10 -04:00
Zhiqiang Chen
5d2974974b
Flang: Do not use -isystem with classic flang
...
Extend commit a8e7a1047a (GNU: Do not use -isystem with gfortran,
2015-03-26, v3.3.0-rc1~292^2) to cover classic Flang too. It does
not search system include directories for Fortran `.mod` files.
2026-08-25 14:06:59 -04:00
Brad King
a584d8ed75
Merge topic 'system-env-id'
...
fc3c71d11f cmake: Add cached environment id that triggers reconfigure when changed
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !12420
2026-08-25 11:47:48 -04:00
Brad King
0999f879aa
Merge branch 'release-4.4'
2026-08-25 11:42:47 -04:00
Brad King
ff3a0e7ef4
Merge topic 'docs-cannot-change-toolchain-file'
...
c9868a61be Help: Mention that CMAKE_TOOLCHAIN_FILE cannot be changed
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12434
2026-08-25 11:35:23 -04:00
Brad King
b12192a593
Merge topic 'preset-template-helpers'
...
fffec0f86e presets: Extract common JSON field binds to helper
a1e4b92270 presets: Extract preset registration to helper
0029686e86 presets: Extract configure dependency resolution to helper
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12428
2026-08-25 11:32:27 -04:00
Brad King
af7ecc8c29
CMake 4.4.3
v4.4.3
2026-08-25 11:10:30 -04:00
Brad King
5609e0d63b
Merge topic 'more-deterministic-CTest-tests'
...
174ec6e410 Tests: Fix add_test and CrosscompilingEmulator tests in parallel
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12431
2026-08-25 10:44:27 -04:00
Brad King
072038c191
Merge topic 'aix-gnu-no-lto'
...
cff46f99ee AIX: Disable LTO/IPO with GCC, which does not support it
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12430
2026-08-25 10:41:48 -04:00
Brad King
ccbe5eaeb7
Merge topic 'target-name-genex-export-doc'
...
6184ff08b9 Help: Document TARGET_NAME genex for namespacing on export
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !12426
2026-08-25 10:38:47 -04:00
Brad King
4e053edd96
Merge topic 'bash-completion-compat'
...
bd9af4b15a bash-completion: Improve compatibility with old bash
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12432
2026-08-25 10:32:30 -04:00
Aiden Woodruff
c9868a61be
Help: Mention that CMAKE_TOOLCHAIN_FILE cannot be changed
2026-08-25 09:38:59 -04:00
Brad King
1f40df769c
Merge topic 'install-RUNTIME_DEPENDENCY_SET-note'
...
9057de7baf Help/install: Promote RUNTIME_DEPENDENCY_SET caveat to note
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !12433
2026-08-25 09:34:09 -04:00
Kitware Robot
65e2e7690e
CMake Nightly Date Stamp
2026-08-25 00:05:10 -04:00
Aiden Woodruff
fc3c71d11f
cmake: Add cached environment id that triggers reconfigure when changed
...
The opaque `CMAKE_SYSTEM_ENVIRONMENT_ID` variable is cached during the
first invocation of `cmake` and is a user-defined hint about the state
of the environment. When the value changes, `cmake` either does nothing,
emits a warning (by default), or refreshes the cache as if by `--fresh`.
The action is controlled by the `CMAKE_SYSTEM_ENVIRONMENT_ACTION`
environment variable (which is not cached).
Implements: #28025
2026-08-24 15:06:35 -04:00
Aiden Woodruff
174ec6e410
Tests: Fix add_test and CrosscompilingEmulator tests in parallel
...
Some additional internal CTest tests require serial execution and break
when the CTEST_PARALLEL_LEVEL environment variable is used to specify
parallelism, which is required for parallelism bounded by processors via
test presets (see #27070 ).
2026-08-24 13:53:46 -04:00
Aditya Kamath
cff46f99ee
AIX: Disable LTO/IPO with GCC, which does not support it
...
The GNU compiler does not support LTO on AIX.
2026-08-24 13:52:21 -04:00
Brad King
8b38a5696c
Merge branch 'release-4.4'
2026-08-24 12:31:34 -04:00
Brad King
244b563b43
Merge topic 'autogen-vs-reduce-target-count'
...
d963b87ab4 Autogen: Reduce the number of targets under Visual Studio
2b5ad7e395 Autogen: Register per-config timestamp file with its full path
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !12409
2026-08-24 12:31:33 -04:00
Brad King
1eb64f8624
Merge topic 'autogen-vs-reduce-target-count' into release-4.4
...
d963b87ab4 Autogen: Reduce the number of targets under Visual Studio
2b5ad7e395 Autogen: Register per-config timestamp file with its full path
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !12409
2026-08-24 12:31:25 -04:00
Brad King
e903d46b9a
Merge topic 'install-TARGETS-default-MODULE'
...
8072e80f4b install(TARGETS): Add default destination for MODULE libraries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !12403
2026-08-24 12:27:07 -04:00
Brad King
568b7bee83
Merge topic 'presets-list-defined'
...
2a9cde8b6e presets: Add defined listings with unavailable reasons
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !12367
2026-08-24 12:22:13 -04:00