Brad King
2123244746
FindGCCXML: Add policy to remove this module
...
GCC-XML has been superseded by CastXML for a long time.
Closes : #26687
2025-02-17 11:35:25 -05:00
Brad King
e59f1713a8
Merge topic 'gettext-target-fix'
...
fee52c6fa1 FindGettext: Fix target name for the GETTEXT_PROCESS_POT_FILE function
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10353
2025-02-17 10:36:32 -05:00
Brad King
64826b4b4c
Merge topic 'mpi-multiline'
...
a7cc231bd3 FindMPI: Improve configuration extraction
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10355
2025-02-17 10:34:53 -05:00
Brad King
441a757c97
Merge topic 'FindCUDAToolkit-threads'
...
c5d81a2468 FindCUDAToolkit: Fix precondition for dependency on Threads
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10354
2025-02-17 10:34:02 -05:00
Connor Baker
c5d81a2468
FindCUDAToolkit: Fix precondition for dependency on Threads
...
`FindThreads` requires that C or CXX be enabled. Previously we were
only checking that `CMAKE_{C,CXX}_COMPILER` have been set, which does
not mean the languages have been enabled.
2025-02-16 11:21:18 -05:00
Nikita Nemkin and SHS
a7cc231bd3
FindMPI: Improve configuration extraction
...
To avoid issues with multi-line scripts, regexes that match
unquoted shell command arguments shouldn't include newlines.
Fixes : #12553
Co-authored-by: K. R. Walker
2025-02-16 13:23:02 +05:00
Brad King
95f0039f43
Merge topic 'cray_cce_omp_offload_linker'
...
3b18fa9e8b Cray: Fix OpenMP linking issue
e8e48ebabd Cray: Enable Cray linker wrapper detection
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10346
2025-02-15 07:45:06 -05:00
Yegor Yefremov
fee52c6fa1
FindGettext: Fix target name for the GETTEXT_PROCESS_POT_FILE function
...
The correct target name is "potfiles" and not "potfile".
2025-02-15 11:45:25 +01:00
John Rodgers
3b18fa9e8b
Cray: Fix OpenMP linking issue
...
Add the `CrayClang` compiler ID to the list of OpenMP flag candidates and
ensure the flags are propagated to the link step to trigger the Cray OpenMP
offload linker (`cce_omp_offload_linker`) wrapper.
Fixes : #24402 , #24962
2025-02-14 12:54:49 -06:00
John Rodgers
e8e48ebabd
Cray: Enable Cray linker wrapper detection
...
Enable detection of the Cray OpenMP offload linker (`cce_omp_offload_linker`)
at the parse implicit link info CMake stage.
Issues: #24402 , #24962
2025-02-14 12:54:25 -06:00
Brad King
808ada63cb
Merge topic 'diab-compiler-support'
...
8ce6689d8b Diab: Add WindRiver Systems's Diab C/C++ toolchain
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10276
2025-02-14 09:35:26 -05:00
Brad King
8bc033f8c9
Merge topic 'FindGettext-whitespace'
...
f34c28fd57 FindGettext: CMake linting: fix mismatching spaces
c9b7906968 FindGettext: Remove the unneeded space before a full stop
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10341
2025-02-14 09:25:03 -05:00
Brad King
372a2c3630
Merge topic 'FindPython-ARTIFACTS_PREFIX'
...
e9770a315d FindPython: Support for multiple searches in same directory
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10340
2025-02-14 09:23:42 -05:00
Sanjiv Gupta
8ce6689d8b
Diab: Add WindRiver Systems's Diab C/C++ toolchain
...
Teach CMake to recognize Diab versions 5.9.x.x and above.
Closes : #26666
2025-02-13 10:15:00 -05:00
Yegor Yefremov
f34c28fd57
FindGettext: CMake linting: fix mismatching spaces
2025-02-13 16:10:05 +01:00
Yegor Yefremov
c9b7906968
FindGettext: Remove the unneeded space before a full stop
2025-02-13 16:09:55 +01:00
Marc Chevrier
e9770a315d
FindPython: Support for multiple searches in same directory
...
This is a complement to commit 9b0510fa57 (FindPython: add support for
multiple searches in same directory, 2025-01-05).
2025-02-13 09:36:43 -05:00
Yegor Yefremov
d1b888a55e
FindGettext: Fix gettext_create_translations signature and description
...
The first input parameter is a potfile and not mofile.
Also mention the fact that the generated binary files
will be automatically installed.
2025-02-12 10:12:40 -05:00
Brad King
d1e0eb405f
Merge topic 'linker-configuration-haiku'
...
379785e869 Linker configuration: Add missing platform Haiku
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10318
2025-02-10 16:16:22 -05:00
Brad King
576abb42cf
Merge topic 'linker-configuration-haiku' into release-4.0
...
379785e869 Linker configuration: Add missing platform Haiku
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10318
2025-02-10 16:16:20 -05:00
Begasus
379785e869
Linker configuration: Add missing platform Haiku
...
Add Haiku information modules missed by commit c1c4cf9545 (Linker
configuration: introduce a new architecture, 2024-06-05,
v3.31.0-rc1~307^2~1).
2025-02-10 10:27:27 -05:00
Brad King
15a2b506c8
Merge topic 'post-rel-dev'
...
f8db82ba81 Configure CMake itself with policies through CMake 3.31
34652be5d2 export: Increase maximum policy version in exported files to 3.31
5cd2669146 Add deprecation warnings for policies CMP0142 and below
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !10296
2025-02-09 12:36:54 -05:00
Brad King
d0d15940b0
Merge topic 'aix-id-var'
...
ff03db6657 AIX: Add platform id variables 'AIX' and 'CMAKE_HOST_AIX'
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10304
2025-02-08 09:29:46 -05:00
Brad King
feaa0f5cc0
Merge topic 'aix-id-var' into release-4.0
...
ff03db6657 AIX: Add platform id variables 'AIX' and 'CMAKE_HOST_AIX'
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10304
2025-02-08 09:29:45 -05:00
Brad King
59c0d04ae0
Merge topic 'xcode-compiler-id-no-xctest'
...
e7062a79bd Xcode: Remove compiler id dependency on xctest
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Jason Juang <jasjuang@gmail.com >
Merge-request: !10303
2025-02-08 09:25:52 -05:00
Brad King
357c8fd7be
Merge topic 'xcode-compiler-id-no-xctest' into release-4.0
...
e7062a79bd Xcode: Remove compiler id dependency on xctest
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Jason Juang <jasjuang@gmail.com >
Merge-request: !10303
2025-02-08 09:25:50 -05:00
Brad King
22ca631269
Merge topic 'ticlang-uppercase-arm-architecture'
...
3fa159dd57 TIClang: Make ARM architecture id uppercase
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10302
2025-02-08 09:22:57 -05:00
Brad King
e9b044730e
Merge topic 'ticlang-uppercase-arm-architecture' into release-4.0
...
3fa159dd57 TIClang: Make ARM architecture id uppercase
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10302
2025-02-08 09:22:55 -05:00
Evan Wilde
e7062a79bd
Xcode: Remove compiler id dependency on xctest
...
Previously the compiler identification project would implicitly generate
unit-tests that depend on XCTest when building for iOS, visionOS, and tvOS.
Fixes : #26600
2025-02-07 11:30:05 -05:00
Aditya Vidyadhar Kamath
ff03db6657
AIX: Add platform id variables 'AIX' and 'CMAKE_HOST_AIX'
...
This allows projects to use `if(AIX)` blocks instead of spelling
out `if(CMAKE_SYSTEM_NAME STREQUAL "AIX")`. We already have similar
variables for many other platforms.
2025-02-07 11:10:43 -05:00
Brad King
13cf00ad71
Merge topic 'ticlang-uppercase-arm-architecture' into release-3.31
...
3fa159dd57 TIClang: Make ARM architecture id uppercase
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10302
2025-02-07 09:46:14 -05:00
Josef Angstenberger
3fa159dd57
TIClang: Make ARM architecture id uppercase
...
The initial compiler support implemented in commit 9ba0a54554 (TIClang:
Add support for TI Clang-based compilers, including tiarmclang,
2023-12-06) introduced `Arm` as architecture instead of `ARM` which is
used for all other compilers.
2025-02-07 09:29:32 -05:00
Brad King
a11887690f
Merge topic 'tasking-output-ext-small-enh'
...
83ce71dd38 Tasking: Enable WHOLE_ARCHIVE link feature
5729d6a66d Tasking: Detect ARM architecture for C++
1241c7dbcf Tasking: Set response file flag
754210a3f6 Tasking: Set object extension to .o
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10298
2025-02-07 08:25:53 -05:00
Brad King
4c50496a11
Merge topic 'tasking-output-ext-small-enh' into release-4.0
...
83ce71dd38 Tasking: Enable WHOLE_ARCHIVE link feature
5729d6a66d Tasking: Detect ARM architecture for C++
1241c7dbcf Tasking: Set response file flag
754210a3f6 Tasking: Set object extension to .o
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10298
2025-02-07 08:25:51 -05:00
Josef Angstenberger
83ce71dd38
Tasking: Enable WHOLE_ARCHIVE link feature
...
Issue: #26426
2025-02-06 10:55:31 -05:00
Josef Angstenberger
5729d6a66d
Tasking: Detect ARM architecture for C++
...
The preprocessor switch to detect architectures on Tasking
differ for C and C++.
Issue: #26426
2025-02-06 10:55:31 -05:00
Josef Angstenberger
1241c7dbcf
Tasking: Set response file flag
...
If not explicitly set to `-f `, the default `@` is used,
which is not supported by Tasking.
Issue: #26426
2025-02-06 10:55:31 -05:00
Josef Angstenberger
754210a3f6
Tasking: Set object extension to .o
...
The extension `.o` is used by the compiler itself,
and is the only one found in its documentation.
Issue: #26426
2025-02-06 10:55:31 -05:00
Brad King
34652be5d2
export: Increase maximum policy version in exported files to 3.31
...
The files generated by `install(EXPORT)`, `export()`, and
`install_jar_exports()` commands are known to work with policies
as of CMake 3.31, so enable them in sufficiently new CMake versions.
2025-02-05 14:21:39 -05:00
Ryan Curtin
6745af99c8
FindArmadillo: Fix wrapper linking with MSVC
...
Transitive linking does not work with MSVC, so we must link against both
Armadillo and its dependencies directly if `ARMA_USE_WRAPPER` is enabled.
2025-02-05 13:25:28 -05:00
Robert Maynard
a745b6869e
CUDA/Clang: Update architectures supported by CUDA 12.8
2025-02-04 12:21:16 -05:00
Brad King
568a9795a6
Merge topic 'ci-fedora41-dnf-cache'
...
f398a517be ci: Update to rebuilt Fedora base images
e9fb64f3b7 Source: Drop incorrect class documentation that had typos
2844296c7b FindMPI: Fix typo in comment
72cce810ce ci(fedora41-hip): update the image in sync w/ `fedora41`
fa08bd803d ci(fedora41): refactor tests removal from Python packages
0e5159656a ci(fedora41): split install prerequisites and build for Rust packages
88c5cf809a ci(fedora41): split install prerequisites and build RBEnv into separate phases
86e96322eb ci(fedora41): tune RVM build to speedup and minimize the final image
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10283
2025-02-04 09:00:59 -05:00
Brad King
796db3a229
Merge topic 'ExternalData-add-httpheader'
...
5106f34eed ExternalData: Add option to specify HTTP headers
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10275
2025-02-04 08:59:42 -05:00
Brad King
b0849dfa4f
Merge topic 'FindRuby-comments'
...
21a5ca5fc2 FindRuby: Update comments
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10280
2025-02-04 08:57:59 -05:00
Brad King
903ad75616
Merge topic 'use-math-hex'
...
2c3df0237d Modules: Use math() for hex to decimal conversion
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Alex Turbov <i.zaufi@gmail.com >
Merge-request: !10281
2025-02-04 08:54:50 -05:00
Brad King
e2ab33d689
Merge topic 'instrumentation-ctest-find-labels'
...
1595713596 instrumentation: Fix expected location of Labels when using CTest launchers
d2a3d596d6 instrumentation: Fix expected location of Labels when using CTest launchers
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !10264
2025-02-04 08:51:11 -05:00
Brad King
ee35812ddf
Merge topic 'fix-swift-whole-archive'
...
c894bc0831 Linker: Restore support for WHOLE_ARCHIVE with Swift libraries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !10266
2025-02-04 08:47:56 -05:00
Brad King
2844296c7b
FindMPI: Fix typo in comment
2025-02-03 12:03:07 -05:00
Charlie Savage
21a5ca5fc2
FindRuby: Update comments
2025-02-03 11:44:02 -05:00
Jakob Ronestjärna
5106f34eed
ExternalData: Add option to specify HTTP headers
...
Add a `ExternalData_HTTPHEADERS` variable to specify them.
Fixes : #26638
2025-02-03 11:30:59 -05:00