Commit Graph

69890 Commits

Author SHA1 Message Date
Brad King
a853030497 Merge branch 'release-4.0' 2025-03-21 08:07:16 -04:00
Brad King
c8f4ae9ccf Merge topic 'GNU-linker-pushpop_state-detection'
d5be7c7f31 Linker: Detect GNU push-state/pop-state flags more robustly
7b552b9a64 Linker: Save GNU push-/pop-state detection with compiler inspection results
a9b126b0da Linker: Save linker inspection results with compiler inspection results
3f5f2b2d49 Linker: Honor CMAKE_<LANG>_LINK_LIBRARY_USING_FEATURE_SUPPORTED when FALSE

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10468
2025-03-21 08:07:16 -04:00
Brad King
8214004200 Merge topic 'GNU-linker-pushpop_state-detection' into release-4.0
d5be7c7f31 Linker: Detect GNU push-state/pop-state flags more robustly
7b552b9a64 Linker: Save GNU push-/pop-state detection with compiler inspection results
a9b126b0da Linker: Save linker inspection results with compiler inspection results
3f5f2b2d49 Linker: Honor CMAKE_<LANG>_LINK_LIBRARY_USING_FEATURE_SUPPORTED when FALSE

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10468
2025-03-21 08:07:13 -04:00
Brad King
e3c5a561a3 Merge topic 'GNU-linker-pushpop_state-detection' into release-3.31
d5be7c7f31 Linker: Detect GNU push-state/pop-state flags more robustly
7b552b9a64 Linker: Save GNU push-/pop-state detection with compiler inspection results
a9b126b0da Linker: Save linker inspection results with compiler inspection results
3f5f2b2d49 Linker: Honor CMAKE_<LANG>_LINK_LIBRARY_USING_FEATURE_SUPPORTED when FALSE

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10468
2025-03-21 08:06:00 -04:00
Kitware Robot
3b89df520d CMake Nightly Date Stamp 2025-03-21 00:04:32 -04:00
Peter Kokot
acba9cb083
execute_process: Document {OUTPUT,ERROR}_STRIP_TRAILING_WHITESPACE 2025-03-21 03:02:10 +01:00
Daniel Pfeifer
46a0c04284
CTest: Allow setting exit code in ctest scripts 2025-03-20 16:31:49 +01:00
Marc Chevrier
d5be7c7f31 Linker: Detect GNU push-state/pop-state flags more robustly
Try actually passing them to the linker to see whether it complains.

Fixes: #26766
2025-03-20 11:00:02 -04:00
Marc Chevrier
7b552b9a64 Linker: Save GNU push-/pop-state detection with compiler inspection results
Previously we saved it in the cache, which:

* Persists even if a new version of CMake changes how the check works.
* Does not propagate to `try_compile` checks.
2025-03-20 11:00:02 -04:00
Marc Chevrier
a9b126b0da Linker: Save linker inspection results with compiler inspection results
Reconfigure `CMake<LANG>Compiler.cmake` again after linker information
is detected.
2025-03-20 11:00:02 -04:00
Marc Chevrier
3f5f2b2d49 Linker: Honor CMAKE_<LANG>_LINK_LIBRARY_USING_FEATURE_SUPPORTED when FALSE
It is documented to override `CMAKE_LINK_LIBRARY_USING_FEATURE_SUPPORTED`.
2025-03-20 10:59:01 -04:00
Brad King
47277616d8
Tests/CTestTestChecksum: Add missing CMakeLists.txt file 2025-03-20 15:43:42 +01:00
Brad King
4ba2692172 Merge topic 'ci-sign-windows'
1f46bc299b ci: Extend packaging pipeline to sign Windows binaries automatically

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10494
2025-03-20 09:16:34 -04:00
Brad King
0a69e10cbf Merge topic 'FindVulkan-debug-libraries'
74bb57cae9 FindVulkan: Search for dxc / volk debug libraries
7c7c7721e9 FindVulkan: Fix test

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10475
2025-03-20 09:15:16 -04:00
Brad King
6de252e6a1 Merge topic 'patch-CMakeAddFortranSubdirectory'
47805ca590 CMakeAddFortranSubdirectory: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10492
2025-03-20 09:12:46 -04:00
Brad King
97246b2083 Merge topic 'ctest-schedule-random-seed'
d3455f38de ctest: Add option to specify the --schedule-random seed
3dc8e59bdc ctest: Record --schedule-random seed in test log

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Nadav Tenenbaum <tnadav@gmail.com>
Acked-by: Hagai Cohen <hagai.co@gmail.com>
Acked-by: Toplica Tanasković <toplicius@gmail.com>
Acked-by: Itay Bookstein <itay.bookstein@nextsilicon.com>
Acked-by: Ilan Tayari <ilan@nextsilicon.com>
Acked-by: Adnan Hodzic <adnan.hodzic@nextsilicon.com>
Merge-request: !10488
2025-03-20 09:11:24 -04:00
Brad King
f1899404e7 Merge branch 'release-4.0' 2025-03-20 08:54:25 -04:00
Brad King
a28d24ce13 Merge topic 'pkgc-variable-docs'
8817f3b131 PkgC: Document cmake variables

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10493
2025-03-20 08:54:24 -04:00
Brad King
68475b77d2 Merge topic 'pkgc-variable-docs' into release-4.0
8817f3b131 PkgC: Document cmake variables

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10493
2025-03-20 08:54:21 -04:00
Kitware Robot
04e3bd98ce CMake Nightly Date Stamp 2025-03-20 00:04:36 -04:00
Brad King
1f46bc299b ci: Extend packaging pipeline to sign Windows binaries automatically
Split packaging on Windows into dedicated jobs that run with access to
an EV signing certificate.

Prior to commit 0929221ca3 (gitlab-ci: Simplify Windows packaging
pipeline, 2023-02-28, v3.26.0-rc5~3^2~3) we had separate packaging jobs,
but they did not run in release packaging pipelines.  Restore them, and
run them in both nightly and release packaging pipelines.
2025-03-19 11:22:30 -04:00
lumina37
74bb57cae9 FindVulkan: Search for dxc / volk debug libraries
Fixes: #25722
Signed-off-by: lumina37 <starry.qvq@gmail.com>
2025-03-19 09:14:53 -04:00
lumina37
7c7c7721e9 FindVulkan: Fix test
Co-authored-by: Juan Ramos <cmake@jpr.mozmail.com>
2025-03-19 09:14:32 -04:00
Brad King
26631da58a Merge branch 'release-4.0' 2025-03-19 09:05:56 -04:00
Brad King
deb44bdf73 Merge topic 'instrumentation-snippet-names'
39f365ec3c instrumentation: Unique snippet file names

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10491
2025-03-19 09:05:56 -04:00
Brad King
f3ac37fe8a Merge topic 'instrumentation-snippet-names' into release-4.0
39f365ec3c instrumentation: Unique snippet file names

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !10491
2025-03-19 09:05:54 -04:00
Vito Gamberini
8817f3b131
PkgC: Document cmake variables 2025-03-19 07:58:31 -04:00
Kitware Robot
d769493bf2 CMake Nightly Date Stamp 2025-03-19 00:04:42 -04:00
Peter Kokot
47805ca590
CMakeAddFortranSubdirectory: Update documentation
This adds few improvements to the CMakeAddFortranSubdirectory module
documentation.

- Added a basic usage example and "See Also" section
- Function arguments are described separate from the function signature.
2025-03-19 02:00:02 +01:00
Daniel Goldberg
d3455f38de ctest: Add option to specify the --schedule-random seed
When `--schedule-random` is used in automated CI jobs, failures may
occur due to test order.  We now log the seed.  Provide a way for
developers to re-run the same order by specifying the seed.

Fixes: #26760
Co-authored-by: Brad King <brad.king@kitware.com>
2025-03-18 14:17:59 -04:00
Daniel Goldberg
3dc8e59bdc ctest: Record --schedule-random seed in test log
Issue: #26760
Signed-off-by: Daniel Goldberg <daniel.goldberg@nextsilicon.com>
2025-03-18 13:45:41 -04:00
Martin Duffy
39f365ec3c instrumentation: Unique snippet file names
Updates the hash in snippet file naming to take the ProcessId into account
so that snippets with identical commands don't risk a collision in filename.

Additionally, this adds a `workingDir` to snippet files so that snippets with
identical commands can be more easily differentiated, such as with install
snippets.
2025-03-18 13:23:02 -04:00
Sanjiv Gupta
7624d0110b Diab: Add tests covering the Diab toolchains
Run the tests only if enabled explicitly by an undocumented cache
entry.  We will enable it on hosts known to have the toolchains.

Closes: #26735
2025-03-18 13:18:55 -04:00
Brad King
03d57336ab Merge branch 'release-4.0' 2025-03-18 13:11:59 -04:00
Brad King
20bb463acc Merge topic 'aix-export-tbss'
e9c772404b AIX: Consider tbss symbols in ExportImportList

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10486
2025-03-18 13:11:58 -04:00
Brad King
f1e1124e7e Merge topic 'aix-export-tbss' into release-4.0
e9c772404b AIX: Consider tbss symbols in ExportImportList

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10486
2025-03-18 13:11:56 -04:00
Aditya Vidyadhar Kamath
e9c772404b AIX: Consider tbss symbols in ExportImportList
Export `tbss` (thread variable but part of `bss` section) variables, e.g.:

    [125]  m  0x00000010    .tbss    1 extern                   s2n_errno
    [126]  a4 0x00000004      0   0    CM      UL   -   -
2025-03-18 09:56:26 -04:00
Brad King
6987e87032 Merge topic 'json-parse-errors'
bed7e90bae cmJSONState: Use StructuredErrors when available

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10472
2025-03-18 09:54:15 -04:00
Brad King
81210b0098 Merge topic 'patch-MacroAddFileDependencies'
cdda7d044d Qt4Macros: Replace obsolete/deprecated macro_add_file_dependencies()

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10481
2025-03-18 09:52:23 -04:00
Brad King
5ea47acecc Merge topic 'patch-AddFileDependencies'
7dc53c5362 KDE3Macros: Replace obsolete/deprecated add_file_dependencies()

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10482
2025-03-18 09:51:17 -04:00
Brad King
970179502f Merge topic 'patch-SelectLibraryConfigurations'
dfd6af0460 SelectLibraryConfigurations: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10480
2025-03-18 09:49:56 -04:00
Brad King
31fab89027 Merge topic 'patch-GetPrerequisites'
d6e1d220a0 GetPrerequisites: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10483
2025-03-18 09:48:35 -04:00
Brad King
c0f6a1184b Merge topic 'patch-CMakeDetermineVSServicePack'
0f27b9bab6 CMakeDetermineVSServicePack: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10485
2025-03-18 09:45:56 -04:00
Brad King
80682590b7 Merge topic 'patch-CMakeExpandImportedTargets'
fb34f1d630 CMakeExpandImportedTargets: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10484
2025-03-18 09:44:30 -04:00
Brad King
ff197bc744 Merge topic 'patch-debug-configurations'
99546ef425 Help: Improve DEBUG_CONFIGURATIONS documentation and usage

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10477
2025-03-18 09:42:51 -04:00
Brad King
555f603bd5 Merge topic 'patch-FindQt3'
c7a5fc355c FindQt3: Update documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10476
2025-03-18 09:40:47 -04:00
Brad King
6af66b4d6e Merge branch 'release-4.0' 2025-03-18 09:32:59 -04:00
Brad King
ec825ccbc2 Merge topic 'export-multiple-set-not-installed'
953e5ec831 Merge branch 'backport-export-multiple-set-not-installed'
d723409e8e export: Allow multiple exports when only one export is installed

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10489
2025-03-18 09:32:59 -04:00
Brad King
a9c41b2c86 Merge topic 'export-multiple-set-not-installed' into release-4.0
d723409e8e export: Allow multiple exports when only one export is installed

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10489
2025-03-18 09:32:57 -04:00
Brad King
f11467a12c Merge branch 'release-4.0' 2025-03-18 09:22:36 -04:00