Commit Graph
76662 Commits
Author SHA1 Message Date
Kitware Robot bbe9cd4f0b CMake Nightly Date Stamp 2026-07-26 00:06:39 -04:00
Kitware Robot d2a1521de3 CMake Nightly Date Stamp 2026-07-25 00:08:16 -04:00
Brad King 99ba33f9d7 Merge topic 'rapidhash'
ed7a690e83 String: Use rapidhash for hashing
bc23835e45 rapidhash: Make vendored header available to CMake sources
b6837dc4c3 rapidhash: Fix compilation as C++14 with GCC 5.5
6bf80fd430 Merge branch 'upstream-rapidhash' into rapidhash
169c604ada rapidhash 2025-07-23 (bc4b4baa)
e34e4d1a88 rapidhash: Add import script to get rapidhash v3

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !12263
2026-07-24 10:04:01 -04:00
Brad King b9e2e73b29 Merge topic 'curl-boringssl-deux'
1255d1b9fb curl: Restore check for BoringSSL in vendored build

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12314
2026-07-24 10:01:32 -04:00
Brad King af3db9d227 Merge branch 'release-4.4' 2026-07-24 08:18:24 -04:00
Brad King cebb36e790 Merge topic 'doc-GNUInstallDirs-cross'
1b33892492 GNUInstallDirs: Document cross-compiling behavior w.r.t. lib directories

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12318
2026-07-24 08:18:24 -04:00
Brad King 2a49f821f3 Merge topic 'doc-GNUInstallDirs-cross' into release-4.4
1b33892492 GNUInstallDirs: Document cross-compiling behavior w.r.t. lib directories

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12318
2026-07-24 08:18:22 -04:00
Brad King 3233835b00 Merge branch 'release-4.4' 2026-07-24 08:16:37 -04:00
Brad King 019a531f18 Merge topic 'fix-synth-preproc-cxx-options'
6fb8e308df c++modules: Account for preprocessor flags in compile options

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12310
2026-07-24 08:16:37 -04:00
Brad King 423d5e4ff6 Merge topic 'fix-synth-preproc-cxx-options' into release-4.4
6fb8e308df c++modules: Account for preprocessor flags in compile options

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12310
2026-07-24 08:16:35 -04:00
Kitware Robot 92ba7ebf12 CMake Nightly Date Stamp 2026-07-24 00:05:30 -04:00
Brad King 1b33892492 GNUInstallDirs: Document cross-compiling behavior w.r.t. lib directories
The default is always `lib` when cross-compiling because we do not
know the target's distro.

Closes: #27982
2026-07-23 16:46:00 -04:00
Tim Blechmann ed7a690e83 String: Use rapidhash for hashing
Rapidhash is a better hash function than FNV-1a (also used in some stl
implementations): it is faster and has a reduced number of hash
collisions.

Closes: #27937
2026-07-23 10:28:41 -04:00
Tim Blechmann bc23835e45 rapidhash: Make vendored header available to CMake sources 2026-07-23 10:28:35 -04:00
Brad King b6837dc4c3 rapidhash: Fix compilation as C++14 with GCC 5.5
Enable `inline constexpr` markup only for specific compilers
to avoid `error: call to non-constexpr function ...`.
2026-07-23 10:28:11 -04:00
Brad King 6bf80fd430 Merge branch 'upstream-rapidhash' into rapidhash
# By rapidhash upstream
* upstream-rapidhash:
  rapidhash 2025-07-23 (bc4b4baa)
2026-07-23 10:28:01 -04:00
rapidhash upstream 169c604ada rapidhash 2025-07-23 (bc4b4baa)
Code extracted from:

    https://github.com/Nicoshev/rapidhash.git

at commit bc4b4baa48a15ff52ff4725e1ccdcda62815221c (rapidhash_v3).
2026-07-23 10:27:43 -04:00
Brad King e34e4d1a88 rapidhash: Add import script to get rapidhash v3 2026-07-23 10:27:37 -04:00
Vito Gamberini 6fb8e308df c++modules: Account for preprocessor flags in compile options
Fixes: #27973
2026-07-23 09:19:13 -04:00
Brad King 42da7a30a9 Merge topic 'ctest-dyn-rsrc-spec-rel-path'
4c2d06e69b CTest: Add support for relative paths in GENERATED_RESOURCE_SPEC_FILE

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12265
2026-07-23 08:56:22 -04:00
Brad King b675924a64 Merge topic 'gcc-depfile-fopen'
8b653cd50c cmGccDepfileLexerHelper: Use fopen from SystemTools

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12305
2026-07-23 08:52:31 -04:00
Brad King 62f2e0e74d Merge topic 'test-gtest-aix'
7bf369a59e Tests/RunCMake/GoogleTest: Tolerate spurious reconfigure on AIX
8a91ba20a5 Tests/RunCMake/GoogleTest: Simplify cleanup of reused build trees

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12308
2026-07-23 08:50:41 -04:00
Tyler Yankee 1255d1b9fb curl: Restore check for BoringSSL in vendored build
As of commit 15266bf2a4 (Utilities: Avoid OpenSSL version check under
forks, 2026-07-21) we do, in fact, need this info.

Fixes: #27978
2026-07-23 08:47:53 -04:00
Brad King 47e0f5da6a Merge topic 'toolchain-preset-warning'
7bc37a0561 CMAKE_TOOLCHAIN_FILE: Avoid excess reconfigures from relative paths

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12289
2026-07-23 08:42:32 -04:00
Brad King f3fd32b96d Merge topic 'doc-cmake_language-print'
a09578ae84 Help/cmake_language: Fix PRINT_TARGETS signature rendering
f46a631f0c Help/cmake_language: Document print operation(s) last

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12311
2026-07-23 08:35:07 -04:00
Brad King 7eb1890244 Merge topic 'cps-executable-import'
207c132378 CPS: Support importing executables

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12294
2026-07-23 08:32:38 -04:00
Brad King 257c0541f4 Merge branch 'release-4.4' 2026-07-23 08:29:44 -04:00
Brad King 3f2c599e8b Merge topic 'fix-diagnostic-action-order'
0d36692275 Diagnostics: Fix interaction with cached state

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12312
2026-07-23 08:29:44 -04:00
Brad King 84f6f4aa64 Merge topic 'fix-diagnostic-action-order' into release-4.4
0d36692275 Diagnostics: Fix interaction with cached state

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12312
2026-07-23 08:29:42 -04:00
Brad King 594bf6851b Merge branch 'release-4.4' 2026-07-23 08:27:49 -04:00
Brad King e46c39a40e Merge topic 'test-depends-config'
682db78943 Merge branch 'backport-test-depends-config' into test-depends-config
c31f09a1e6 CMAKE_TEST_BUILD_DEPENDS: Use config when evaluating test dependency targets
593c4ccaa6 CMAKE_TEST_BUILD_DEPENDS: Use config when evaluating test dependency targets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12306
2026-07-23 08:27:48 -04:00
Brad King baf5b423b7 Merge topic 'test-depends-config' into release-4.4
593c4ccaa6 CMAKE_TEST_BUILD_DEPENDS: Use config when evaluating test dependency targets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12306
2026-07-23 08:27:46 -04:00
Kitware Robot 6d2b0e6f7e CMake Nightly Date Stamp 2026-07-23 00:05:07 -04:00
Matthew Woehlke 0d36692275 Diagnostics: Fix interaction with cached state
The prior mechanism for reconciling cached diagnostic state with updates
from presets / command-line arguments based on whether the latter
modified diagnostics from their default state did not work. This is
because alterations that would not change the state relative to the
default were not recorded, even if they would alter the state relative
to the prior (cached) state.

The best fix for this is to apply alterations on top of the cached
state, rather than trying to determine whether an alteration is
important. Unfortunately, the only way to do this is to defer
alterations until after we can load the cache, which somewhat defeats
one of the original goals of reducing the number of mechanisms by which
alterations are recorded.

Modify how we handle diagnostic alterations to map them through a helper
function, which either defers them (in Project mode) or acts as a
pass-through (applying the changes immediately, in all other modes).
While this does, as noted, introduce another means of storing
diagnostics, this new storage effectively consists of a list of deferred
function calls, rather than a unique format for recording changes, which
is what we had prior to the Great Refactor.
2026-07-22 15:29:59 -04:00
Tom Osika a09578ae84 Help/cmake_language: Fix PRINT_TARGETS signature rendering 2026-07-22 14:39:00 -04:00
Tom Osika f46a631f0c Help/cmake_language: Document print operation(s) last
Move documentation added by commit 45623dd5f6 (cmake_language: Add
PRINT_TARGETS operation, 2026-06-26) to the end of the signature list
to make room for more print signatures.

Issue: #27513
2026-07-22 14:38:41 -04:00
Arha Gatram 4c2d06e69b CTest: Add support for relative paths in GENERATED_RESOURCE_SPEC_FILE 2026-07-22 09:49:28 -07:00
Aiden Woodruff 7bc37a0561 CMAKE_TOOLCHAIN_FILE: Avoid excess reconfigures from relative paths
Save original input value of CMAKE_TOOLCHAIN_FILE also before
normalization or relative searching to avoid reconfiguring because the
full path doesn't match the input. Tests correct behavior avoiding
reconfigures and ensuring reconfigure on toolchain change from preset.

Fixes: #24942
2026-07-22 11:53:05 -04:00
Brad King 7bf369a59e Tests/RunCMake/GoogleTest: Tolerate spurious reconfigure on AIX
On some AIX filesystems, running the build system immediately re-runs
CMake due to timestamp jitter.  Tolerate the resulting output from the
build step.
2026-07-22 11:46:33 -04:00
Brad King 8a91ba20a5 Tests/RunCMake/GoogleTest: Simplify cleanup of reused build trees 2026-07-22 11:39:18 -04:00
Brad King 3eda12235e Merge topic 'ci-no-tart-for-intel'
39f37e4d32 gitlab-ci: move macOS x86_64 jobs back to shell runners

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12307
2026-07-22 11:36:00 -04:00
Brad King f2dcada8ac Merge topic 'boringssl-3-curl'
15266bf2a4 Utilities: Avoid OpenSSL version check under forks

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !12304
2026-07-22 11:34:26 -04:00
Brad King 9c631586d2 Merge topic 'cuda-toolkit-namespace'
f2d5320d42 FindCUDAToolkit: Add CUDAToolkit:: namespace targets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12290
2026-07-22 11:32:13 -04:00
Brad King fcd200ab3b Merge topic 'diagnose-deprecated-commands'
75161b34b6 bootstrap: Remove deprecated commands
664eb8412a cmake: Don't use deprecated commands to build
3745af331a Add deprecation diagnostics to deprecated commands

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !12277
2026-07-22 11:27:01 -04:00
Brad King 5868009096 Merge topic 'ctest-windows-jobserver-client'
79331d5865 CTest: Add Windows job server client

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12297
2026-07-22 11:23:38 -04:00
Brad King 682db78943 Merge branch 'backport-test-depends-config' into test-depends-config 2026-07-22 11:03:31 -04:00
Brad King c42abc6883 Merge branch 'release-4.4' 2026-07-22 10:55:46 -04:00
Brad King 0c702d4692 Merge topic 'more-CMAKE_REQUIRED_FLAGS-fixes'
a72e241200 Check*: Restore more toleration of `;-W...` in CMAKE_REQUIRED_FLAGS
7644d557df Check*: Refactor variable handling

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12303
2026-07-22 10:55:46 -04:00
Brad King 239c7c9ccd Merge topic 'more-CMAKE_REQUIRED_FLAGS-fixes' into release-4.4
a72e241200 Check*: Restore more toleration of `;-W...` in CMAKE_REQUIRED_FLAGS
7644d557df Check*: Refactor variable handling

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12303
2026-07-22 10:55:44 -04:00
Vito Gamberini 207c132378 CPS: Support importing executables
Fixes: #27964
2026-07-22 10:45:59 -04:00