15778 Commits

Author SHA1 Message Date
Charlie Savage
fe006b5e9d FindRuby: Only search for released Ruby versions 2026-01-26 14:25:59 -08:00
Charlie Savage
82d39e5a7c FindRuby: Fix cache strings 2026-01-26 13:16:41 -08:00
Charlie Savage
a6a27d9160 FindRuby: Change MESSAGE to message. 2026-01-26 13:16:14 -08:00
Charlie Savage
af39d00aaa FindRuby: Fix debug message to output correct variable. 2026-01-26 13:15:36 -08:00
Charlie Savage
c5e7cb691c FindRuby: Add support for interpreter and development components 2026-01-23 10:35:43 -05:00
Charlie Savage
dc8e05c4d2 FindRuby: Simplify finding the Ruby library - Ruby already knows! 2026-01-23 10:35:43 -05:00
Charlie Savage
b192f706aa FindRuby: Remove broken, untested and unmaintained cross-compiling support 2026-01-23 10:35:43 -05:00
Charlie Savage
ee75b3e7b4 FindRuby: Clean up variables read from Ruby 2026-01-23 10:35:43 -05:00
Charlie Savage
ba37066185 FindRuby: Versions are strings not paths. 2026-01-23 10:35:43 -05:00
Charlie Savage
b2bd6b221c FindRuby: Enclose Ruby executable in quotes 2026-01-23 10:35:43 -05:00
Charlie Savage
752d5cace6 FindRuby: Fix incorrect code and versions 2026-01-23 10:35:42 -05:00
Charlie Savage
deb67fa837 FindRuby: Remove duplicate word 2026-01-23 10:35:42 -05:00
Charlie Savage
dba840934c FindRuby: Add Ruby 4.0 support 2026-01-23 10:35:42 -05:00
Charlie Savage
56b3437108 FindRuby: Fix finding headers on Github MacOS runners using Brew 2026-01-23 10:35:42 -05:00
Paulius Velesko
47c3e55d4a HIP: Add support for SPIR-V platform
Add `spirv` as a known value for `CMAKE_HIP_PLATFORM`.
Default `CMAKE_HIP_ARCHITECTURES` to `OFF` for `spirv`.

Fixes: #27410
2026-01-20 13:18:18 -05:00
Brad King
18c98682f5 Merge topic 'verify-private-header-sets'
b61637f90f File sets: Add verification of private file sets
61df2e15a2 Help: Verification target also sets CXX_SCAN_FOR_MODULES to false
909b54023a File sets: Specify verify file set target names in one place
20219414c3 File sets: Always verify interface files sets of executable targets
c7a1d5ee58 Tests: Rename VerifyHeaderSets tests to VerifyInterfaceHeaderSets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11565
2026-01-19 09:27:59 -05:00
Craig Scott
b61637f90f
File sets: Add verification of private file sets
Add support for PRIVATE header sets, analogous to the existing
INTERFACE header sets support. A key difference between the two is
the way they handle build and usage requirements. INTERFACE
header sets rely on the original target's INTERFACE, whereas PRIVATE
header sets copy across various properties from the original target.

Generated files need special handling for PRIVATE header sets.
Add a dependency on the original target to the verification target to
ensure such generated files will exist.

Fixes: #23448
2026-01-16 18:10:17 +11:00
Brad King
6347854fa2 Merge topic 'botantony-find-lua-5.5'
261b7b933c FindLua: Add support for Lua 5.5

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11550
2026-01-13 10:49:22 -05:00
Anton Melnikov
261b7b933c FindLua: Add support for Lua 5.5
Fixes: #27476

Co-authored-by: Tyler Yankee <tyler.yankee@kitware.com>
2026-01-12 16:02:29 -05:00
Kyle Edwards
2d2036c9e9
FindCUDAToolkit: Add CUDA::bin2c target 2026-01-12 12:02:07 -05:00
Brad King
538926c532 Merge topic 'cpack-archive-compression-level'
0bca70968a CPack: support archive compression level
54f926c740 libarchive: Limit lzma compression level to 6 on AIX

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11548
2026-01-12 09:40:51 -05:00
AJIOB
0bca70968a CPack: support archive compression level
Fixes: #18117
2026-01-09 10:35:04 -05:00
Brad King
f2d688bf5f Merge topic 'optimize-CPack-module'
000d572d04 CPack.cmake: reduce `foreach` iterations count matching `CPACK*` vars

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11580
2026-01-09 10:11:49 -05:00
Brad King
500dbbb2fe Merge topic 'fix-openscenegraph-relwithdebinfo'
a10c2e32a5 FindOpenSceneGraph: Detect library built as RelWithDebInfo
b5d5eea716 FindOpenThreads: Detect library built as RelWithDebInfo

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11542
2026-01-09 10:10:13 -05:00
Alex Turbov
000d572d04
CPack.cmake: reduce foreach iterations count matching CPACK* vars 2026-01-08 22:36:50 +04:00
Carlo Bramini
a10c2e32a5 FindOpenSceneGraph: Detect library built as RelWithDebInfo 2026-01-08 10:44:00 -05:00
Carlo Bramini
b5d5eea716 FindOpenThreads: Detect library built as RelWithDebInfo 2026-01-08 10:44:00 -05:00
Brad King
db24521141 Merge topic 'find_openmp_better_error_message_when_lang_not_enable'
d4aec0ff07 FindOpenMP: Improve robustness when a language isn't enabled.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11566
2026-01-08 10:36:32 -05:00
Brad King
aa95721f76 Merge topic 'FindHDF5-2-mpi'
27e558dfa5 FindHDF5: Fix MPI flags for HDF5>=2.0.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11573
2026-01-08 10:35:20 -05:00
Brad King
cb4c129238 Merge topic 'AppleClang-c++26'
47924bd1ba AppleClang: Add C++26 support
f2b45d8326 ci: Record expected C++26 support in Debian jobs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Nico Weber <thakis@chromium.org>
Merge-request: !11572
2026-01-08 10:26:12 -05:00
Corentin Cadiou
27e558dfa5 FindHDF5: Fix MPI flags for HDF5>=2.0.0
`HDF5_ENABLE_PARALLEL` is now `HDF5_PROVIDES_PARALLEL`.
See https://discourse.cmake.org/t/15444/2.
2026-01-07 11:53:46 -05:00
Brad King
47924bd1ba AppleClang: Add C++26 support
Follow up commit 0183956d30 (Clang: C++26 support, 2023-05-16,
v3.27.0-rc1~85^2).

Fixes: #27486
2026-01-07 10:48:43 -05:00
Robert Maynard
d4aec0ff07
FindOpenMP: Improve robustness when a language isn't enabled.
Previously we would generate a if statement with `OR STREQUAL` when
${CMAKE_${LANG}_COMPILER_ID} evaluated to an empty string
2026-01-05 09:23:11 -05:00
Craig Scott
d052cba821 Merge topic 'doc-double-word-cleanup'
0854e3d598 Help,Comments: Fix occurrences of doubled words

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11547
2025-12-24 18:30:54 -05:00
Craig Scott
0854e3d598
Help,Comments: Fix occurrences of doubled words 2025-12-21 21:03:33 +11:00
Brad King
571b438d41 export: Increase maximum policy version in exported files to 4.1
The files generated by `install(EXPORT)`, `export()`, and
`install_jar_exports()` commands are known to work with policies
as of CMake 4.1, so enable them in sufficiently new CMake versions.
2025-12-19 07:22:51 -05:00
Brad King
12be5c60ff Merge topic 'cpack-stgz-deref-symlinks'
ecbe5a8479 CPack/STGZ: Avoid replacing directory symlinks if possible

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11526
2025-12-18 10:37:58 -05:00
Brad King
ecbe5a8479 CPack/STGZ: Avoid replacing directory symlinks if possible
When installing into a prefix with existing directory symlinks, tell
`tar` not to replace them with real directories from the package.

Fixes: #21119
2025-12-17 17:33:23 -05:00
Kevin Barre
07fe3f95ce CPack/DEB: Add CPACK_DEBIAN_COMPRESSION_LEVEL variable
Add a new variable `CPACK_DEBIAN_COMPRESSION_LEVEL` to control the compression
level used when generating Debian packages. This complements the existing
`CPACK_DEBIAN_COMPRESSION_TYPE` variable and allows finer control over the
compression performance vs. size trade-off. Supported values correspond to
the compression level accepted by the underlying compressor (e.g. gzip, xz,
zstd, etc.).
2025-12-17 14:27:10 -05:00
Brad King
fb82c55f9d Merge topic 'FindRuby-cache-internal'
b4f2c7beab FindRuby: Hide interpreter query cache entries

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11500
2025-12-12 10:02:12 -05:00
Brad King
85d359f008 Merge topic 'fix-nvpl'
1bf46814c4 FindBLAS: Make find_package(nvpl) quiet

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11498
2025-12-11 09:42:58 -05:00
Charlie Savage
b4f2c7beab FindRuby: Hide interpreter query cache entries
Avoid exposing them to editing in `cmake-gui` or `ccmake`.
2025-12-11 09:22:06 -05:00
Vito Gamberini
1bf46814c4
FindBLAS: Make find_package(nvpl) quiet
Fixes: #27451
2025-12-10 11:33:12 -05:00
Brad King
485d51f474 Merge topic 'FindRuby-macos-brew'
996a65a328 FindRuby: Add support for Brew on macOS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11474
2025-12-10 09:40:29 -05:00
Charlie Savage
996a65a328 FindRuby: Add support for Brew on macOS
Brew is a common way to install Ruby on MacOS.  Search using paths
provided by the ruby interpreter.
2025-12-09 15:46:22 -05:00
Matthew Woehlke
d4754c1a0c FindSQLite3: Use package name as namespace
As we (hopefully) move toward a CPS world, it is helpful for imported
targets to use the package name as the namespace (as required by CPS).
Modify FindSQLite3 to do so. The old name is retained for compatibility.
2025-12-08 11:14:43 -05:00
Keith Smiley
5f2f36f1ea FindLibXml2: Add a LibXml2_USE_STATIC_LIBS hint
Add an option to search only for the static library.
2025-12-04 15:51:35 -05:00
Brad King
66ef2bce82 Merge topic 'FindPython'
b589a78497 FindPython: Use bracket arguments for python code blocks

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11467
2025-12-03 16:27:16 -05:00
Brad King
e4737d1c4a Merge topic 'cli-tar-lzma'
5b87a5d53e cli tar: implement LZMA support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !11465
2025-12-03 16:26:20 -05:00
Eisuke Kawashima
b589a78497 FindPython: Use bracket arguments for python code blocks 2025-12-03 01:11:33 +09:00