Brad King
8523e579dc
Merge branch 'backport-3.31-fileapi-initial-cache'
2026-01-15 15:13:13 -05:00
Martin Duffy
4d712cfc25
fileapi: Fix crash on cmake_file_api() call in initial cache
2026-01-15 14:51:57 -05:00
Brad King
4f58ef85e4
Merge branch 'release-3.31' into release-4.0
2026-01-14 08:48:50 -05:00
Brad King
b5ec12599f
Merge topic 'ci-cuda-archs' into release-4.0
...
ba5b89afb3 ci: Fix CUDA tests on GPUs newer than the toolkit supports
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11592
2026-01-14 08:48:30 -05:00
Brad King
cab0f6cfa8
Merge topic 'ci-cuda-archs' into release-3.31
...
ba5b89afb3 ci: Fix CUDA tests on GPUs newer than the toolkit supports
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11592
2026-01-14 08:47:52 -05:00
Brad King
ba5b89afb3
ci: Fix CUDA tests on GPUs newer than the toolkit supports
...
Extend commit ff8c0e9c10 (ci: Clamp CUDA 'native' architecture to values
supported by its toolkit, 2022-03-14, v3.24.0-rc1~468^2) to avoid
failures due to `nvcc -arch=native`.
2026-01-13 09:43:25 -05:00
Brad King
297d8f2708
Merge branch 'release-3.31' into release-4.0
2026-01-08 08:13:51 -05:00
Brad King
2e00e773f6
Merge topic 'ci-xcode-26.2' into release-4.0
...
bc18ef4400 ci: update macOS jobs to use Xcode 26.2
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11576
2026-01-08 08:13:42 -05:00
Brad King
92d75438dd
Merge topic 'ci-xcode-26.2' into release-3.31
...
bc18ef4400 ci: update macOS jobs to use Xcode 26.2
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11576
2026-01-08 08:13:10 -05:00
Brad King
bc18ef4400
ci: update macOS jobs to use Xcode 26.2
2026-01-07 13:51:59 -05:00
Brad King
4ae62b6709
Merge branch 'release-3.31' into release-4.0
2026-01-07 09:32:37 -05:00
Brad King
61b443f398
Merge topic 'ci-sccache-port-from-runner' into release-4.0
...
cb865362ed gitlab-ci: get the sccache server port from the runner
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11560
2026-01-07 09:32:26 -05:00
Brad King
bd9d4d5a8c
Merge topic 'ci-sccache-port-from-runner' into release-3.31
...
cb865362ed gitlab-ci: get the sccache server port from the runner
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11560
2026-01-07 09:31:33 -05:00
Ben Boeckel
cb865362ed
gitlab-ci: get the sccache server port from the runner
...
Our CI setup has per-project runner setups, so they are now providing
the port configuration. The main goal is to have Rosetta caches separate
from the native caches on macOS, but removing this removes a bit of
coupling to Kitware's CI setup.
2025-12-29 16:34:10 -05:00
Brad King
4c0c3d6f9f
Merge topic 'backport-sarif-path-encoding' into release-4.0
...
2eef2baf93 cmake: Fix SARIF diagnostics output path encoding on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11538
2025-12-20 09:28:06 -05:00
Brad King
2eef2baf93
cmake: Fix SARIF diagnostics output path encoding on Windows
...
Avoid using `filesystem::path` to hold the output path. It performs
encoding conversions that violate our internal UTF-8 encoding.
Fixes : #27471
Issue: #27472
2025-12-19 14:33:42 -05:00
Brad King
22e1d0e929
Merge branch 'release-3.31' into release-4.0
2025-11-25 11:12:05 -05:00
Brad King
8d8239c752
Merge topic 'flang-j-as-moddir' into release-4.0
...
db6b82ae54 LLVMFlang-Fortran: Use -J instead of -module-dir
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11443
2025-11-25 11:11:48 -05:00
Brad King
377d390546
Merge topic 'flang-j-as-moddir' into release-3.31
...
db6b82ae54 LLVMFlang-Fortran: Use -J instead of -module-dir
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11443
2025-11-25 11:10:22 -05:00
Tarun Prabhu
db6b82ae54
LLVMFlang-Fortran: Use -J instead of -module-dir
...
In flang, both -J and -module-dir support both joined and separate values. For
the -J option, these are of the form `-J<value>` and `-J <value>` respectively.
Once https://github.com/llvm/llvm-project/pull/168748 is committed, -module-dir
will only work with a separate value. Setting CMAKE_Fortran_MODDIR_FLAG to -J
ensures that both joined and separate styles will continue to work after that
change is made. As far as behavior is concerned, both -J and -module-dir are
aliases.
2025-11-24 14:25:21 -05:00
Brad King
5517be2bf1
CMake 4.0.5
v4.0.5
2025-11-18 09:16:12 -05:00
Brad King
96a6b2be06
Merge branch 'release-3.31' into release-4.0
2025-11-18 09:03:27 -05:00
Brad King
e54eda8159
Merge topic 'doc-string-xref' into release-4.0
...
510d81c7bc Help: Avoid reST named references in string(JSON) synopsis
6c0f37546f Help: Improve string(JSON) synopsis document source readability
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11426
2025-11-18 09:03:15 -05:00
Brad King
6672acb8b4
Merge topic 'doc-string-xref' into release-3.31
...
510d81c7bc Help: Avoid reST named references in string(JSON) synopsis
6c0f37546f Help: Improve string(JSON) synopsis document source readability
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11426
2025-11-18 09:01:58 -05:00
Brad King
510d81c7bc
Help: Avoid reST named references in string(JSON) synopsis
...
Also revert commit 9702a01dc9 (Help: string(LENGTH): Fix synopsis link
to command description, 2023-12-30, v3.28.2~23^2). It was only needed
to avoid re-using a named reference that we've now removed.
Issue: #25546
2025-11-17 16:31:37 -05:00
Brad King
6c0f37546f
Help: Improve string(JSON) synopsis document source readability
...
Avoid spaces in signature target names.
2025-11-17 16:31:37 -05:00
Brad King
b4528858f8
Merge branch 'release-3.31' into release-4.0
2025-11-17 16:26:39 -05:00
Brad King
ca626022f5
CMake 3.31.10
v3.31.10
2025-11-17 14:28:31 -05:00
Brad King
e5bf8a6324
Merge branch 'release-3.31' into release-4.0
2025-11-14 09:30:53 -05:00
Brad King
16ffc77177
Merge topic 'ci-xcode-26.1' into release-4.0
...
cf10b47e57 ci: update macOS jobs to use Xcode 26.1
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11416
2025-11-14 09:30:44 -05:00
Brad King
04d8da5f19
Merge topic 'ci-xcode-26.1' into release-3.31
...
cf10b47e57 ci: update macOS jobs to use Xcode 26.1
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11416
2025-11-14 09:29:17 -05:00
Brad King
cf10b47e57
ci: update macOS jobs to use Xcode 26.1
2025-11-13 13:55:08 -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
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
Brad King
63465e8858
Merge branch 'release-3.31' into release-4.0
2025-11-11 08:20:37 -05:00
Brad King
70848d79b9
Merge topic 'test-libarchive-3.8.2' into release-4.0
...
576117b7eb Tests: Update expected Zstandard magic number for libarchive 3.8.2
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11402
2025-11-11 08:20:20 -05:00
Brad King
7c28c08500
Merge topic 'test-libarchive-3.8.2' into release-3.31
...
576117b7eb Tests: Update expected Zstandard magic number for libarchive 3.8.2
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11402
2025-11-11 08:19:11 -05:00
Brad King
576117b7eb
Tests: Update expected Zstandard magic number for libarchive 3.8.2
...
libarchive 3.8.2 enabled Zstandard's checksum feature in the zstd write
filter. Update our tests' expected results accordingly.
Fixes : #27355
Reported-by: Funda Wang <fundawang@yeah.net >
2025-11-10 15:11:10 -05:00
Brad King
e7bcf5e3a3
Merge branch 'release-3.31' into release-4.0
2025-11-10 14:00:15 -05:00
Brad King
253b2b8c7b
Merge topic 'backport-3.31-cpack-rpm-weak-deps' into release-3.31
...
f357fc27e5 CPack: Backport "correctly perform querytags on old versions of RPM"
1803eda9f7 CPack/RPM: Backport "Fix detection of RPM support for weak dependencies"
d2404872b2 CPack/RPM: Backport "Remove redundant conditions for presence of rpmbuild"
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11400
2025-11-10 13:53:43 -05:00
Brad King
f357fc27e5
CPack: Backport "correctly perform querytags on old versions of RPM"
...
Backport commit 488de6294a (CPack: correctly perform querytags on old
versions of RPM, 2025-01-09, v4.0.0-rc1~182^2~3) to CMake 3.31.
2025-11-10 11:42:44 -05:00
Brad King
1803eda9f7
CPack/RPM: Backport "Fix detection of RPM support for weak dependencies"
...
Backport commit 283a48403f (CPack/RPM: Fix detection of RPM support for
weak dependencies, 2025-02-28, v4.0.0-rc3~8^2) to CMake 3.31.
Fixes : #27373
2025-11-10 11:40:49 -05:00
Brad King
d2404872b2
CPack/RPM: Backport "Remove redundant conditions for presence of rpmbuild"
...
Backport commit ab4e74ad0b (CPack/RPM: Remove redundant conditions for
presence of rpmbuild, 2025-02-28, v4.0.0-rc3~8^2~1) to CMake 3.31.
2025-11-10 11:40:20 -05:00
Brad King
f1f39347c2
Merge branch 'release-3.31' into release-4.0
2025-11-10 09:07:22 -05:00
Brad King
1ec4e64227
Merge topic 'process-timeout-short' into release-4.0
...
6ec2c51f0c execute_process: Restore support for short timeouts
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11399
2025-11-10 09:06:55 -05:00
Brad King
dd8c14e9e5
Merge topic 'process-timeout-short' into release-3.31
...
6ec2c51f0c execute_process: Restore support for short timeouts
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11399
2025-11-10 09:00:43 -05:00