69664 Commits
Author SHA1 Message Date
Brad King fe1fed2f4a CMake 4.0.6 v4.0.6 2026-01-27 09:24:22 -05:00
Brad King eb7c1516e1 Merge branch 'release-3.31' into release-4.0 2026-01-26 14:21:11 -05:00
Brad King cd51ca47cb CMake 3.31.11 v3.31.11 2026-01-26 13:45:51 -05:00
Brad King 449ffb2539 Merge branch 'release-3.31' into release-4.0 2026-01-24 08:03:32 -05:00
Brad King 8b19487cbb Merge topic 'libarchive-windows-encoding' into release-4.0
f590010167 libarchive: Restore tolerance of archives with non-OEM paths on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11622
2026-01-24 08:03:24 -05:00
Brad King ab1152c3ac Merge topic 'libarchive-windows-encoding' into release-3.31
f590010167 libarchive: Restore tolerance of archives with non-OEM paths on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11622
2026-01-24 08:01:35 -05:00
Brad King f590010167 libarchive: Restore tolerance of archives with non-OEM paths on Windows
On Windows, since commit 9539a0df9c (LibArchive 2024-09-13, 2024-09-13,
v3.31.0-rc1~77^2~3^2) imported libarchive commit `49280bc202a8` (Fix
tests on Windows, 2024-03-23, `v3.7.3~17`), libarchive fails to extract
archives whose paths are not valid MBS encodings in the host's OEM code
page.  This broke extraction, e.g., by `cmake -E tar` of archives with
UTF-8 paths on Windows.

Restore compatibility with CMake 3.30 and below by tolerating encoding
conversion errors on Windows.  Although affected paths are not extracted
correctly, we at least succeed in extracting the rest of such archives.

Issue: #26903
2026-01-24 07:53:54 -05:00
Brad King acefe25af1 Merge branch 'release-3.31' into release-4.0 2026-01-22 10:10:02 -05:00
Brad King 59a8796e1f Merge topic 'test-cuda-fix-result-pointers' into release-4.0
c238f174a9 Tests: Remove invalid CUDA code from tests

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11607
2026-01-22 10:09:49 -05:00
Brad King 9ff7341e0f Merge topic 'test-cuda-fix-result-pointers' into release-3.31
c238f174a9 Tests: Remove invalid CUDA code from tests

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11607
2026-01-22 10:08:51 -05:00
Robert Maynard c238f174a9 Tests: Remove invalid CUDA code from tests
Multiple tests passed a host side stack address for writing on the GPU.
Now we pass a GPU backed heap address.
2026-01-20 16:25:03 -05:00
Brad King 01eedf3d94 Merge branch 'release-3.31' into release-4.0 2026-01-19 11:35:29 -05:00
Brad King b9009be4a1 Merge topic 'ci-nvhpc' into release-4.0
f7669bbeed ci: Clamp CUDA 'native' architecture in NVHPC job

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11610
2026-01-19 11:35:12 -05:00
Brad King a2c9682e66 Merge topic 'ci-nvhpc' into release-3.31
f7669bbeed ci: Clamp CUDA 'native' architecture in NVHPC job

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11610
2026-01-19 11:34:14 -05:00
Brad King f7669bbeed ci: Clamp CUDA 'native' architecture in NVHPC job
Extend commit ff8c0e9c10 (ci: Clamp CUDA 'native' architecture to values
supported by its toolkit, 2022-03-14, v3.24.0-rc1~468^2) to cover the
NVHPC job too.
2026-01-19 10:54:35 -05:00
Brad King 59bbe83b9a Merge branch 'release-3.31' into release-4.0 2026-01-16 09:31:03 -05:00
Brad King 0ce101913c Merge topic 'backport-4.0-fileapi-instrumentation-initial-cache' into release-4.0
bb23f65928 instrumentation: Fix crash on cmake_instrumentation() call in initial cache
8523e579dc Merge branch 'backport-3.31-fileapi-initial-cache'
4d712cfc25 fileapi: Fix crash on cmake_file_api() call in initial cache

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11598
2026-01-16 09:29:19 -05:00
Brad King 351ad4cfbd Merge topic 'backport-3.31-fileapi-initial-cache' into release-3.31
4d712cfc25 fileapi: Fix crash on cmake_file_api() call in initial cache

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11598
2026-01-16 09:26:18 -05:00
Martin Duffy bb23f65928 instrumentation: Fix crash on cmake_instrumentation() call in initial cache 2026-01-15 15:13:34 -05:00
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