Brad King
0db6a72651
Merge topic 'doc-compile'
...
4b9ed91424 Help: check_*source_compiles and CMAKE_TRY_COMPILE_TARGET_TYPE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9641
2024-07-18 09:02:05 -04:00
Brad King
078eb8d79d
Merge topic 'FindCUDAToolkit-windows-only'
...
973b019363 FindCUDAToolkit: Refactor search windows only search directories
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9648
2024-07-18 09:01:16 -04:00
Brad King
4221d6b220
Merge topic 'implicit-link-static'
...
b3c9b317ff CMakeParseImplicitLinkInfo: Honor gfortran -static-libquadmath flag
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9664
2024-07-18 08:59:13 -04:00
scivision
4b9ed91424
Help: check_*source_compiles and CMAKE_TRY_COMPILE_TARGET_TYPE
...
Ref: #26103
2024-07-17 11:56:26 -04:00
Aditya Vidyadhar Kamath
d27fe9dfba
AIX: Add option to archive shared libraries
...
Add option `CMAKE_AIX_SHARED_LIBRARY_ARCHIVE`.
There will no versions for the shared objects when this option is used.
Closes : #26033
2024-07-17 11:52:09 -04:00
Robert Maynard
973b019363
FindCUDAToolkit: Refactor search windows only search directories
...
Will allow us to better support layout changes going forward
2024-07-17 10:47:34 -04:00
Brad King
25abc95715
Merge topic 'LLVMFlang-aix'
...
e37d8e28e8 LLVMFlang: Add support for AIX
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9661
2024-07-17 09:48:24 -04:00
Brad King
b3cd795e65
Merge topic 'wasi'
...
68cd5281e4 WASI: Add platform modules
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9659
2024-07-17 09:47:30 -04:00
Brad King
b3c9b317ff
CMakeParseImplicitLinkInfo: Honor gfortran -static-libquadmath flag
...
Extend commit 1d7fddca8e (CMakeParseImplicitLinkInfo: Honor GNU static
runtime library flags, 2021-06-02, v3.21.0-rc1~85^2) to cover the
`quadmath` library.
2024-07-16 16:42:18 -04:00
Kelvin Li
e37d8e28e8
LLVMFlang: Add support for AIX
2024-07-16 14:32:19 -04:00
Jacob Hummer
68cd5281e4
WASI: Add platform modules
...
Add minimal platform modules to support toolchain files like those in
* https://github.com/WebAssembly/wasi-sdk
or direct use of `-DCMAKE_SYSTEM_NAME="WASI"`
Fixes : #19223
2024-07-16 12:28:19 -04:00
Brad King
e9d72f611c
Merge topic 'IntelLLVM-layout-2024'
...
ceb58f0ccf IntelLLVM: Update toolchain layout for 2024+ versions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9653
2024-07-16 10:30:52 -04:00
Brad King
0c567293bf
Merge topic 'IntelLLVM-layout-2024' into release-3.30
...
ceb58f0ccf IntelLLVM: Update toolchain layout for 2024+ versions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9653
2024-07-16 10:30:50 -04:00
Brad King
87eefa238f
Merge topic 'FindMatlab-no-langs'
...
70cbcb1da3 FindMatlab: Restore support for finding Matlab without any languages
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9657
2024-07-16 10:27:18 -04:00
Kyle Edwards
4e1337be6a
Merge topic 'cuda-static-nvml'
...
b3f02006f0 FindCUDAToolkit: Add ability to find static version of nvml
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9654
2024-07-16 09:34:00 -04:00
Pavel Liavonau
ceb58f0ccf
IntelLLVM: Update toolchain layout for 2024+ versions
...
HPC Intel changed layout of llvm related binary files from
`bin/../bin-llvm` to `bin/compiler`.
2024-07-15 17:07:55 -04:00
Brad King
70cbcb1da3
FindMatlab: Restore support for finding Matlab without any languages
...
Revise commit 657064b6d4 (FindMatlab: Refactor: Eliminate
_matlab_64Build, 2024-01-24, v3.30.0-rc1~594^2~5) to more faithfully
reproduce the original behavior.
Revise commit 91c672e5ae (FindMatlab: Use find_package(Threads) instead
of checking -pthread, 2024-02-02, v3.30.0-rc1~594^2~1) to restore the
old behavior of looking for threads only with C or CXX enabled.
Fixes : #26121
2024-07-15 15:01:15 -04:00
Kyle Edwards
b3f02006f0
FindCUDAToolkit: Add ability to find static version of nvml
...
Fixes : #26131
2024-07-15 10:35:36 -04:00
Robert Maynard
8f974011ea
FindCUDAToolkit: Allow new search locations after failure
...
Fixes #22010
2024-07-10 09:44:57 -04:00
moyo1997
b2a2865205
MSVC: Remove outdated preprocessor flags for targeting ARM64EC
...
Remove `/DAMD64` and `/DARM64EC` flags added by commit 4ea3a88625 (MSVC:
Add support for targeting ARM64EC, 2020-12-30, v3.20.0-rc1~121^2) that
are not longer expected.
2024-07-09 14:21:21 -04:00
Brad King
639346f319
Merge topic 'ios-mac-catalyst'
...
2785364b7b iOS: Add support for Mac Catalyst
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9595
2024-07-08 11:13:09 -04:00
Craig Scott
536d55a910
Merge topic 'fetchcontent-debug-log-level'
...
8c878b2d2e FetchContent: Fix command echo for DEBUG and TRACE log levels
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9640
2024-07-06 08:28:03 -04:00
Craig Scott
8c878b2d2e
FetchContent: Fix command echo for DEBUG and TRACE log levels
...
Fixes : #26111
2024-07-04 21:10:34 +10:00
Raul Metsma
2785364b7b
iOS: Add support for Mac Catalyst
...
Issue: #20132
Signed-off-by: Raul Metsma <raul@metsma.ee >
2024-07-03 11:15:45 -04:00
Brad King
73f368b3c1
Merge topic 'find_mpi-support-newlines-in-output'
...
8ba3441bd2 FindMPI include parsing better handles leading newlines
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9636
2024-07-02 08:35:58 -04:00
Brad King
1e1dbc36fe
Merge topic 'FindImageMagick-component-libraries'
...
9c30469af5 FindImageMagick: Provide per-component _LIBRARIES variable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9630
2024-07-02 08:29:37 -04:00
Deniz Bahadir
9c30469af5
FindImageMagick: Provide per-component _LIBRARIES variable
...
The `ImageMagick_<component>_LIBRARIES` result variable has long been
documented but was not actually provided. Implement it, and document
the version that really adds it.
2024-07-01 14:45:58 -04:00
Joel Johnson
fab5c030ad
CPack/RPM: Add zstd compression support
...
Fixes : #26088
2024-07-01 12:17:24 -04:00
Joel Johnson
a25be17bc4
CPack/RPM: emit error on invalid CPACK_RPM_COMPRESSION_TYPE
2024-07-01 12:16:44 -04:00
Joel Johnson
7e21412f47
CPack/RPM: fix whitespace alignment prior to editing
2024-07-01 12:16:35 -04:00
Robert Maynard
8ba3441bd2
FindMPI include parsing better handles leading newlines
...
When FindMPI parses include output like:
```
warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
-I....
```
2024-07-01 11:47:00 -04:00
Brad King
6935ff7df0
Merge topic 'FindImageMagick-repeat'
...
63bb3fca54 FindImageMagick: Allow including multiple times
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !9617
2024-06-27 11:09:48 -04:00
Josiah VanderZee
63bb3fca54
FindImageMagick: Allow including multiple times
...
This prevents attempting to create a duplicate target by adding an
`if(NOT TARGET ...)` check as in other modules. The condition was
missed in commit 1bba218214 (FindImageMagick: Define targets for
specific components, 2023-01-20, v3.26.0-rc1~23^2).
Fixes : #25970
2024-06-26 08:50:21 -04:00
Brad King
a20377e41a
Merge topic 'cpack-debian-multiarch'
...
71c631c435 CPack/DEB: Add Multi-Arch support
55524c48a4 CPack/DEB: Add Multi-Arch support
a022705a2e Tests/RunCMake/CPack: Improve README
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9609
2024-06-26 08:44:02 -04:00
Brad King
05b4883bfe
Merge topic 'find_library-per-arch-lib-with-sysroot'
...
e74fba3d9c find_library: Search per-arch lib directories when compiling with sysroot
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9614
2024-06-24 09:29:52 -04:00
Brad King
d395fb38e5
Merge topic 'apple-framework-bundle-name'
...
8a06f173d9 Apple: Add CFBundleName to framework Info.plist files
7c1a18655b Tests/RunCMake/Framework: Improve failure messages
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Jason Juang <jasjuang@gmail.com >
Merge-request: !9610
2024-06-24 09:28:44 -04:00
Brad King
4cc832f797
Merge topic 'link-feature-attributes-stabilization'
...
576567f028 Link feature attributes: stabilization
5617c34c31 Libraries processing: update configuration wording
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9607
2024-06-24 09:22:48 -04:00
Brad King
c3046ea289
Merge topic 'link-feature-attributes-stabilization' into release-3.30
...
576567f028 Link feature attributes: stabilization
5617c34c31 Libraries processing: update configuration wording
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9607
2024-06-24 09:22:47 -04:00
Robert Schuster
55524c48a4
CPack/DEB: Add Multi-Arch support
...
Add support for Multi-Arch in control files of Debian packages.
Valid values: same, foreign, allowed
Fixes : #21445
2024-06-21 12:27:50 -04:00
Brad King
d13afe720a
Merge topic 'masm-static-lib'
...
faadb86474 ASM_MASM: Add support for masm-only static libraries
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9612
2024-06-21 10:42:10 -04:00
Marc Chevrier
576567f028
Link feature attributes: stabilization
...
* enhance OVERRIDE handling
* Update wording
2024-06-21 11:18:20 +02:00
Marc Chevrier
5617c34c31
Libraries processing: update configuration wording
2024-06-21 11:18:12 +02:00
Harmen Stoppels
e74fba3d9c
find_library: Search per-arch lib directories when compiling with sysroot
...
When using Gentoo Prefix on Debian, find_library for libm.so fails,
because it needs to locate the lib in $sysroot/usr/lib64/libm.so, i.e.
lib64/ not lib/.
To fix this, do not disable per-arch lib directories when a sysroot is
set.
Fixes : #26069
2024-06-21 10:53:16 +02:00
Brad King
8a06f173d9
Apple: Add CFBundleName to framework Info.plist files
...
Fixes : #26046
2024-06-20 10:33:07 -04:00
Jeremy Koritzinsky
faadb86474
ASM_MASM: Add support for masm-only static libraries
...
Set correct command to create a static library for Microsoft assembly
dialects.
Fixes : #18889
2024-06-20 10:14:59 -04:00
Brad King
2af60b1551
Merge topic 'cpackrpm_owner_execute'
...
f73ad97220 CPack/RPM: Fix debuginfo permissions check
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9603
2024-06-18 11:01:53 -04:00
Adrian DC
f73ad97220
CPack/RPM: Fix debuginfo permissions check
...
Replace non-existent 'USER_EXECUTE' with intended 'OWNER_EXECUTE'.
Signed-off-by: Adrian DC <radian.dc@gmail.com >
2024-06-17 11:54:16 -04:00
Carlo Marcelo Arenas Belón
8a33068afe
visibility: add support for Oracle Developer Studio 12.6
...
While an `-fvisibility` flag was added in the previous version, it
throws warnings indicating it would be ignored unless given to the
linker and fails to work properly.
Tested on Solaris 11.3 SPARC and Solaris 11.4 x86/SPARC.
2024-06-12 03:05:28 -07:00
Brad King
09f2031825
Merge topic 'clang-ansi-color'
...
1004cc2b52 Clang: Drop non-existent -fno-ansi-escape-codes flag
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9592
2024-06-11 10:56:50 -04:00
Brad King
4036eafd95
Merge topic 'clang-ansi-color' into release-3.30
...
1004cc2b52 Clang: Drop non-existent -fno-ansi-escape-codes flag
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9592
2024-06-11 10:56:48 -04:00