5b416cbe77 ci: add job testing cuda13.2 with clang
64dac60df9 ci: Update cuda13.2-x86_64 base image to clang-23
ce3d0af576 Clang/CUDA: Support the llvm23+ offload linker model
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12052
The HEADERS and SOURCES sections of the autogen info file are read with
almost identical code. Extract a single InitSourceEntries() helper that
reads a source-entry array of a given kind into the matching source map,
and use it for both. This removes the duplication and gives a single
place to extend with further section kinds.
Previously, the `cmake --help-command string` output would have an extra
trailing `_` after `string(JSON)` subcommand names because they are
anonymous hyperlinks in the source. Support matching a double underscore
so that it is removed in the `--help-*` output.
Ninja commit `7424d27c25` (Implement GNU jobserver pool mode,
2025-06-16) added a warning on stderr if `-j` is passed explicitly
while a jobserver is available. Update test expectations.
Otherwise, `project(LANGUAGES HIP)` fails to configure on a machine
with no AMD GPU when using Clang 22 or newer:
Failed to find a default HIP architecture.
The default architecture is determined by running `rocm_agent_enumerator`,
which returns nothing when no GPU is present, and then by matching
` -target-cpu ([a-z0-9]+) ` in the compiler's cc1 output. Clang stopped
passing `-target-cpu` for AMDGPU in LLVM/Clang commit bf9fe776748c
(clang/AMDGPU: Stop passing redundant -target-cpu to cc1, 2026-08-31);
the processor is now carried in the triple's subarch field. Neither
path matches, so configuration fails.
Fall back to reading the subarch out of the triple, e.g.,
`amdgpu9.06-amd-amdhsa` for `gfx906`. Keep the `-target-cpu` branch for
older compilers. Generic targets spell the subarch with fewer
components, e.g., `amdgpu10.3--` for `gfx10-3-generic`. Those are not
matched, so they still reach the existing error rather than producing an
invalid architecture name.
Amend commit 397fcd4663 (cmJSONState: Allow input stream as input,
2026-02-06) so that all constructors which feed into `ReadJSONStream`
bail on BOMs.
Add a test case for dynamic analysis tools.
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 151e9c02f310b7430fb84d4f4b0f7fbe27806bf0 (master).
Upstream Shortlog
-----------------
Brad King (1):
99b98f31 Activate POSIX APIs even without compiler extensions
Daksh Mamodiya (2):
d56d4cb6 SystemInformation: Fix Windows CPU clock buffer for >64 processors
5019dca1 SystemInformation: report a stable base CPU frequency
Oskari Alaranta (1):
abe921a6 Process: Fix race while waiting for child process group