Brad King
8832f78dd6
IWYU: Update for Debian 13 CI job
...
`include-what-you-use` diagnostics, in practice, are specific to
the environment's compiler and standard library. Update includes
to satisfy IWYU for our CI job under Debian 13. Some patterns:
* Types named in virtual `override` signatures no longer require
includes since the overridden signature already names them.
* A function argument's type needs to be included even if its constructor
is called only by implicit conversion. For example, constructing a
`std::function` from a lambda now requires `<functional>`.
* Some prior mysterious `<type_traits>` inclusions are no longer required.
2025-11-12 14:54:35 -05:00
Brad King
3653b3e95e
Merge branch 'backport-ci-debian-13' into ci-debian-13
2025-11-12 14:44:43 -05:00
Brad King
1445a8e7db
ci: use Debian 13 images and environments
2025-11-12 14:35:12 -05:00
Brad King
9eedf6c1a9
ci: Update base images to Debian 13
2025-11-12 14:35:11 -05:00
Brad King
36bdb7b2de
ci: Update to TIClang 4.0.4
2025-11-12 14:35:11 -05:00
Brad King
48f091a166
ci: Update debian12-ninja job to use Swift 6.2.1
2025-11-12 14:35:11 -05:00
Brad King
388e2ae0a5
FindPostgreSQL: Add support for version 17
2025-11-12 14:35:11 -05:00
Brad King
a0642acbce
FindImageMagick: Fix detection of version 7 from headers
2025-11-12 14:35:11 -05:00
Brad King
faf8addc71
FindJNI: Add Debian/Ubuntu specific paths for more recent JDK versions
2025-11-12 14:35:11 -05:00
Brad King
038cb65bc6
Tests/FindJNI/Minimal: Fix test for Java 24 and above
2025-11-12 14:35:10 -05:00
Brad King
a0059a2771
cmDocumentationFormatter: Implement PrintFormatted privately
2025-11-12 14:35:10 -05:00
Brad King
02f3f5d801
Merge topic 'cmake-E-copy-system-errors'
...
fb7a904e90 cmcmd: report system errors on more filesystem operations
4795cb6550 Merge branch 'upstream-KWSys' into cmake-E-copy-system-errors
dc8cc945ee KWSys 2025-11-12 (1139f8a0)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11401
2025-11-12 11:59:48 -05:00
Frank Winklmeier
fb7a904e90
cmcmd: report system errors on more filesystem operations
...
Print the system error message in case of failure when calling
`CopyFileAlways`, `CopyFileIfDifferent`, `CopyFileIfNewer`,
`CopyADirectory` and `MakeDirectory`.
Remove unnecessary `cmSystemTools` wrappers for `CopyFileIfNewer` and
`CopyADirectory`.
Fixes : #18276
2025-11-12 11:53:35 -05:00
Brad King
4795cb6550
Merge branch 'upstream-KWSys' into cmake-E-copy-system-errors
...
# By KWSys Upstream
* upstream-KWSys:
KWSys 2025-11-12 (1139f8a0)
2025-11-12 11:53:21 -05:00
KWSys Upstream
dc8cc945ee
KWSys 2025-11-12 (1139f8a0)
...
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 1139f8a044044860e9a4c3b964750cbe68fe3f6d (master).
Upstream Shortlog
-----------------
Brad King (2):
abb5ca15 SystemTools: Fix CopyFileIfNewer error status when source is missing
001e388f Directory: Restore Load() error for missing directory on Windows
2025-11-12 11:53:21 -05:00
Brad King
515bb02443
Merge topic 'package-info-from-install-export'
...
34343922a5 install: Add ability to generate CPS from install(EXPORT)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11315
2025-11-12 11:53:07 -05:00
Brad King
64ffd3b323
Merge topic 'findopengl-glvnd-legacy'
...
32a5f11e50 FindOpenGL: respect legacy preference for OpenGL and GLX libraries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !11385
2025-11-12 11:51:27 -05:00
Brad King
8ff110d4be
Merge topic 'test-pch'
...
dac2823975 Tests: Split RunCMake.PrecompileHeaders into multiple tests
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !11410
2025-11-12 11:49:10 -05:00
Brad King
621ed2eabd
Merge branch 'release-4.2'
2025-11-12 11:47:16 -05:00
Brad King
4c1ace5fba
Merge topic 'fbuild_byproducts'
...
b1b3602cda FASTBuild: remove non-existent autogen byproducts
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11405
2025-11-12 11:47:16 -05:00
Brad King
203a1cb1c5
Merge topic 'fbuild_byproducts' into release-4.2
...
b1b3602cda FASTBuild: remove non-existent autogen byproducts
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11405
2025-11-12 11:47:14 -05:00
Brad King
3e5f4aa5c5
Merge branch 'release-4.2'
2025-11-12 11:42:13 -05:00
Brad King
31c38f722a
Merge topic 'fbuild_unique_names'
...
d6bc1a8a50 FASTBuild: rename test target to RUN_TESTS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11403
2025-11-12 11:42:13 -05:00
Brad King
3c276579e2
Merge topic 'fbuild_unique_names' into release-4.2
...
d6bc1a8a50 FASTBuild: rename test target to RUN_TESTS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11403
2025-11-12 11:42:11 -05:00
Brad King
87ad7d7251
Merge branch 'release-4.2'
2025-11-12 10:55:32 -05:00
Brad King
923b91a13f
Merge branch 'release-4.1'
2025-11-12 10:55:25 -05:00
Brad King
2f03112816
Merge branch 'release-4.0'
2025-11-12 10:55:18 -05:00
Brad King
94828640ba
Merge branch 'release-3.31'
2025-11-12 10:55:00 -05:00
Brad King
94931ca3a1
Merge branch 'release-4.1' into release-4.2
2025-11-12 10:54:44 -05:00
Brad King
54d8b32e23
Merge branch 'release-4.2'
2025-11-12 10:53:50 -05:00
Brad King
3529a96ba5
Merge topic 'process-timeout-terminate'
...
3dc641d99c Merge branch 'backport-3.31-process-timeout-terminate'
22e84c7e7f execute_process: Restore termination of processes on timeout
e2cfc61e5e execute_process: Restore termination of processes on timeout
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11408
2025-11-12 10:53:50 -05:00
Brad King
db1b109e77
Merge topic 'process-timeout-terminate' into release-4.2
...
3dc641d99c Merge branch 'backport-3.31-process-timeout-terminate'
22e84c7e7f execute_process: Restore termination of processes on timeout
e2cfc61e5e execute_process: Restore termination of processes on timeout
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !11408
2025-11-12 10:53:47 -05:00
Brad King
690eb1c070
Merge branch 'release-4.0' into release-4.1
2025-11-12 10:53:23 -05:00
Brad King
39ccffa076
Merge topic 'process-timeout-terminate' into release-4.1
...
3dc641d99c Merge branch 'backport-3.31-process-timeout-terminate'
22e84c7e7f execute_process: Restore termination of processes on timeout
e2cfc61e5e execute_process: Restore termination of processes on timeout (3.31)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11408
2025-11-12 10:53:09 -05:00
Brad King
cfd54d02a5
Merge branch 'release-3.31' into release-4.0
2025-11-12 10:52:49 -05:00
Brad King
b9a06e1bd1
Merge topic 'process-timeout-terminate' into release-4.0
...
3dc641d99c Merge branch 'backport-3.31-process-timeout-terminate'
22e84c7e7f execute_process: Restore termination of processes on timeout
e2cfc61e5e execute_process: Restore termination of processes on timeout (3.31)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11408
2025-11-12 10:52:05 -05:00
Brad King
5d73c4bc62
Merge topic 'backport-3.31-process-timeout-terminate' into release-3.31
...
e2cfc61e5e execute_process: Restore termination of processes on timeout
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11408
2025-11-12 10:48:36 -05:00
Kitware Robot
3454109c42
CMake Nightly Date Stamp
2025-11-12 00:06:38 -05:00
Quinn Powell
32a5f11e50
FindOpenGL: respect legacy preference for OpenGL and GLX libraries
...
Fixes : #27299
2025-11-11 14:46:57 -05:00
Brad King
dac2823975
Tests: Split RunCMake.PrecompileHeaders into multiple tests
...
The test runs many cases serially. Split them into two groups to
enable more concurrency and shorter tests.
2025-11-11 14:11:32 -05:00
Matthew Woehlke
34343922a5
install: Add ability to generate CPS from install(EXPORT)
...
Add the ability to generate CPS package information when install(EXPORT)
is used. This relies on additional information to be passed to CMake,
and is intended as a way of getting CPS out of existing projects without
needing to make changes to the projects' CMakeLists.txt. (Particularly,
this feature is intended for package distributors, not project authors.)
2025-11-11 11:51:58 -05:00
Brad King
3dc641d99c
Merge branch 'backport-3.31-process-timeout-terminate'
2025-11-11 10:03:15 -05:00
Brad King
22e84c7e7f
execute_process: Restore termination of processes on timeout
...
Since commit 5420639a8d (cmExecuteProcessCommand: Replace cmsysProcess
with cmUVProcessChain, 2023-06-01, v3.28.0-rc1~138^2~8) we have not
actually terminated child processes on an `execute_process` timeout.
Similarly for other migrations from cmsysProcess to cmUVProcessChain.
Teach cmUVProcessChain clients that implement timeouts to actually
terminate remaining child processes when the timeout is reached.
Fixes : #27378
2025-11-11 09:10:29 -05:00
Brad King
e2cfc61e5e
execute_process: Restore termination of processes on timeout
...
Since commit 5420639a8d (cmExecuteProcessCommand: Replace cmsysProcess
with cmUVProcessChain, 2023-06-01, v3.28.0-rc1~138^2~8) we have not
actually terminated child processes on an `execute_process` timeout.
Similarly for other migrations from cmsysProcess to cmUVProcessChain.
Teach cmUVProcessChain clients that implement timeouts to actually
terminate remaining child processes when the timeout is reached.
Fixes : #27378
2025-11-11 09:06:49 -05:00
Eduard Voronkin
b1b3602cda
FASTBuild: remove non-existent autogen byproducts
...
Fixes : #27374
2025-11-11 08:59:44 -05:00
Eduard Voronkin
d6bc1a8a50
FASTBuild: rename test target to RUN_TESTS
...
Avoid case-insensitive conflicts with project targets called `Test`.
Fixes : #27372
2025-11-11 08:54:54 -05:00
Brad King
ad112e1062
Merge topic 'patch-install-prefix-27343'
...
35b1250b0a GNUInstallDirs: Add notice about --prefix option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11369
2025-11-11 08:27:25 -05:00
Brad King
f16dba9fb9
Merge branch 'release-4.2'
2025-11-11 08:24:59 -05:00
Brad King
e0f08e466b
Merge branch 'release-4.1'
2025-11-11 08:24:51 -05:00
Brad King
8b409301f0
Merge branch 'release-4.0'
2025-11-11 08:24:43 -05:00