Commit Graph

13935 Commits

Author SHA1 Message Date
Brad King eafeb52d48 Merge topic 'FindTIFF-cmake-package'
b6b2f73f36 FindTIFF: Fix name of upstream TIFF cmake package

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9300
2024-03-01 08:59:51 -05:00
Brad King b6b2f73f36 FindTIFF: Fix name of upstream TIFF cmake package
Since commit 6a3059e66f (FindTIFF: bridge `tiff-config` into
FindTIFF-compatible interface, 2023-09-14, v3.28.0-rc1~87^2)
we try to find the upstream TIFF cmake package.  However, it
is called `TiffConfig.cmake`, not `tiff-config.cmake`, so we
need to match the capitalization of the package name.
2024-02-29 08:47:53 -05:00
Brad King 2ef3bd9186 ExternalProject: Add TLS version options for https connections
Add a `TLS_VERSION` option and honor `CMAKE_TLS_VERSION` variables.
Also map the version to Git options as we already do for `TLS_VERIFY`.

Issue: #25701
2024-02-28 19:11:29 -05:00
Brad King f0a36b1a76 ExternalProject: Factor out helper to get NETRC options 2024-02-28 19:10:29 -05:00
Brad King 019960a52a ExternalProject: Factor out helper to get TLS_CAINFO option 2024-02-28 19:02:51 -05:00
Brad King 1afa6f359e ExternalProject: Factor out helper to get TLS_VERIFY option 2024-02-28 18:57:47 -05:00
Brad King e39c37ab29 ExternalProject: Revise wording of TLS_VERIFY documentation 2024-02-28 09:41:01 -05:00
Brad King fe5e6c27bd ExternalProject: Prepare for multiple git submodule config options 2024-02-28 09:33:29 -05:00
Brad King 1fc670fb22 Merge topic 'clang-use-arg1'
7008fc234b CMakeDetermineCompilerId: use `_ARG1` to query the clang resource dir

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9285
2024-02-27 09:05:13 -05:00
Ben Boeckel 7008fc234b CMakeDetermineCompilerId: use _ARG1 to query the clang resource dir
Other core queries do this, so do it here too.
2024-02-26 11:49:17 -05:00
Brad King 08f001291e Merge topic 'FindOpenSSL-SLP-layout'
1327e0ff75 FindOpenSSL: Update layout for Shining Light Productions package on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9283
2024-02-26 10:18:19 -05:00
Brad King 7ff3099e84 Merge topic 'FindOpenMP-intel-oneapi-windows'
6c09451ed3 ci: Enable FindOpenMP tests in Intel nightly CI jobs on Windows
d427bfae61 FindOpenMP: Restore support for Intel compilers on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9284
2024-02-26 10:17:15 -05:00
Brad King d427bfae61 FindOpenMP: Restore support for Intel compilers on Windows
Fix the condition added by commit 3019af64c2 (FindOpenMP: Add support
for GNU-like Clang targeting MSVC ABI, 2024-02-08, v3.29.0-rc1~8^2~1)
to be more specific.

Fixes: #25711
2024-02-23 09:37:03 -05:00
Matthias Isele 1327e0ff75 FindOpenSSL: Update layout for Shining Light Productions package on Windows
Fixes: #25702
2024-02-23 08:46:11 -05:00
Brad King c29bc18b10 Merge topic 'cxxmodules-clang-resource-dir'
a3ada1a241 Clang: detect -resource-dir for clang-scan-deps

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9274
2024-02-22 08:24:00 -05:00
Brad King a4122c89c4 Merge topic 'cxxmodules-clang-resource-dir' into release-3.29
a3ada1a241 Clang: detect -resource-dir for clang-scan-deps

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9274
2024-02-22 08:23:58 -05:00
Ben Boeckel a3ada1a241 Clang: detect -resource-dir for clang-scan-deps
When cross-compiling, `clang-scan-deps` needs help to find the correct
location of core headers such as `stddef.h`. Always determine this path
and pass it when available.

Fixes: #25590
2024-02-21 08:51:42 -05:00
Hermann von Kleist ae558b9ad0 FindMatlab: Support REGISTRY_VIEW
CMake 3.24 added REGISTRY_VIEW as find_package argument. Since
FindMatlab.cmake looks up the registry, we might as well support it.

While some logic existed to select the correct registry view when
searching for the installed versions, that logic was not applied when
getting the matlab root directories, which might have led to weird
situations in which both the 32-bit and 64-bit version of the same
Matlab release were installed simultaneously.

The changes made in this commit try not to break existing and documented
behavior from exposed functions. The exposed functions which interact
with the registry get an optional `REGISTRY_VIEW` argument.

If no REGISTRY_VIEW is passed to find_package, FindMatlab uses the
`TARGET` view to mimic the previous behavior.
2024-02-20 18:07:47 +01:00
Hermann von Kleist 3b51a52af0 FindMatlab: Add changelog for now supported version range 2024-02-19 16:34:35 +01:00
Brad King bd59b92918 Merge topic 'doc-install-relative-paths'
af293ff7c3 Help: Explicitly discourage absolute install destinations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9261
2024-02-16 10:08:19 -05:00
Brad King 559231aec3 Merge topic 'doc-install-relative-paths' into release-3.29
af293ff7c3 Help: Explicitly discourage absolute install destinations

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9261
2024-02-16 10:08:18 -05:00
Robert Maynard af293ff7c3 Help: Explicitly discourage absolute install destinations
Document some of the problems caused by absolute install destinations.
Encourage use of relative paths.
2024-02-16 09:53:55 -05:00
Brad King 146ef7aaf9 Merge topic 'ipo-ar-no-replace'
2d72a861d7 IPO: Support duplicate object names in large archives

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9258
2024-02-16 09:48:47 -05:00
Brad King c7f618957b Merge topic 'modules-unused-file'
389dbf0051 Modules: Remove unused CheckLibraryExists.list.in file

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9246
2024-02-15 12:41:34 -05:00
Brad King 75f790b3b9 Merge topic 'find-matlab-refactoring'
ab08e75921 FindMatlab: Remove dead commented-out code
91c672e5ae FindMatlab: Use find_package(Threads) instead of checking -pthread
ce426e2a45 FindMatlab: Do not query host processor for registry view
37723c4bee FindMatlab: Refactor Matlab root list append operation
07256587f1 FindMatlab: Simplify ROOT lookup for new and old MCR
657064b6d4 FindMatlab: Refactor: Eliminate _matlab_64Build
c847be4fc7 FindMatlab: Remove extra [Debug] from log message
cd2541bb56 FindMatlab: Remove unnecessary if statements and loops
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9222
2024-02-15 12:39:40 -05:00
Ruslan Baratov 2d72a861d7 IPO: Support duplicate object names in large archives
Apply the fix from commit 1ec6485c6a (Support duplicate object names in
large archives, 2014-04-16, v3.1.0-rc1~629^2) to the IPO-specific
archiving rules.  Use "quick append" instead of "replace".

Fixes: #25675
Issue: #14874
2024-02-15 11:08:45 -05:00
Peter Kokot 389dbf0051 Modules: Remove unused CheckLibraryExists.list.in file
This file template for `CheckLibraryExists` has not been used since
commit 5902279ebc (Fix modules for recent changes, 2002-09-25,
v2.4.0~5118).
2024-02-13 10:05:55 -05:00
Brad King eca06f9a94 Merge topic 'clang-windows-make-depends'
492f456c1c Clang: Fix typo to enable compiler-generated Makefile dependencies on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9245
2024-02-13 08:55:26 -05:00
Brad King 0f5b2109e6 Merge topic 'clang-windows-make-depends' into release-3.29
492f456c1c Clang: Fix typo to enable compiler-generated Makefile dependencies on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9245
2024-02-13 08:55:25 -05:00
Brad King 674bf686e6 Merge topic 'mingw-objc-objcxx'
2a4e8f03ef MinGW: Add support for OBJC and OBJCXX

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Cristian Adam <cristian.adam@gmail.com>
Merge-request: !9244
2024-02-13 08:53:16 -05:00
Brad King 7f067a3c17 Merge topic 'mingw-objc-objcxx' into release-3.29
2a4e8f03ef MinGW: Add support for OBJC and OBJCXX

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Cristian Adam <cristian.adam@gmail.com>
Merge-request: !9244
2024-02-13 08:53:15 -05:00
Brad King d8152ec683 Merge topic 'FindCUDAToolkit-driver-deps'
17d758b36d FindCUDAToolkit: Fix cuda driver dependencies

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9243
2024-02-13 08:51:52 -05:00
Hermann von Kleist ab08e75921 FindMatlab: Remove dead commented-out code 2024-02-13 09:39:58 +01:00
Hermann von Kleist 91c672e5ae FindMatlab: Use find_package(Threads) instead of checking -pthread 2024-02-13 09:39:58 +01:00
Hermann von Kleist ce426e2a45 FindMatlab: Do not query host processor for registry view
`matlab_extract_all_installed_versions_from_registry` searched for
32-bit installations on 32-bit Windows even if win64 was set to 'TRUE'.
Now, no installation will be found if win64 is set to 'TRUE' on 32-bit
Windows, which is also the documented behavior.
2024-02-13 09:39:58 +01:00
Hermann von Kleist 37723c4bee FindMatlab: Refactor Matlab root list append operation 2024-02-13 09:39:57 +01:00
Hermann von Kleist 07256587f1 FindMatlab: Simplify ROOT lookup for new and old MCR 2024-02-13 09:39:57 +01:00
Hermann von Kleist 657064b6d4 FindMatlab: Refactor: Eliminate _matlab_64Build 2024-02-13 09:39:57 +01:00
Hermann von Kleist c847be4fc7 FindMatlab: Remove extra [Debug] from log message 2024-02-13 09:39:57 +01:00
Hermann von Kleist cd2541bb56 FindMatlab: Remove unnecessary if statements and loops 2024-02-13 09:39:57 +01:00
Hermann von Kleist d4c1b5e00b FindMatlab: Fixup indentation 2024-02-13 09:39:57 +01:00
مهدي شينون (Mehdi Chinoune) 2a4e8f03ef MinGW: Add support for OBJC and OBJCXX 2024-02-12 19:46:41 -05:00
Brad King 492f456c1c Clang: Fix typo to enable compiler-generated Makefile dependencies on Windows
Fix a typo from commit 2c71d051fa (Makefiles Generators: use compiler
for dependencies generation, 2020-10-18, v3.20.0-rc1~392^2).
2024-02-12 14:14:07 -05:00
Robert Maynard 17d758b36d FindCUDAToolkit: Fix cuda driver dependencies
Fixes: #25665
2024-02-12 13:29:41 -05:00
Brad King 026270fe3d Merge topic 'findmatlab-silence-mex-warnings'
0576913aff FindMatlab: Silence warnings for mex version file

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9220
2024-02-12 10:59:28 -05:00
Brad King 93de765e81 Merge topic 'findmatlab-improve-version-check'
c273fc4ffb FindMatlab: Handle version range
3665fe26ba FindMatlab: Refactor version selection using find_package_check_version

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9221
2024-02-12 10:58:49 -05:00
Brad King 77800b39d8 Merge topic 'ticlang-compilers'
49b5a65477 Merge branch 'backport-ticlang' into ticlang-compilers
4c51136b8c ci: Enable TIClang test on Debian Clang jobs in nightly pipeline
9ba0a54554 TIClang: Add support for TI Clang-based compilers, including tiarmclang

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9228
2024-02-12 10:57:19 -05:00
Brad King 4977739fc9 Merge topic 'ticlang-compilers' into release-3.29
4c51136b8c ci: Enable TIClang test on Debian Clang jobs in nightly pipeline
9ba0a54554 TIClang: Add support for TI Clang-based compilers, including tiarmclang

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9228
2024-02-12 10:57:18 -05:00
Brad King 361e5fd441 Merge topic 'visionOS'
5b5acb557a Tests: Enable RunCMake.CMakePackage visionOS cases with Xcode 15.2
871a4c5aac Merge branch 'backport-3.28-visionOS' into visionOS
22eb1b6d67 Tests: Enable visionOS tests with Xcode 15.2
f6fa34839c Tests: Update RunCMake.XcodeProject-Device for visionOS in Xcode 15.1 beta
40be88a92e visionOS: Update deployment-target flag for Xcode 15.1 beta
3ece4553c2 cmLocalGenerator: Avoid unnecessary lookup without a deployment target

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Volodymyr B. <v.boichentsov@elsevier.com>
Merge-request: !9239
2024-02-12 10:45:33 -05:00
Brad King 49b5a65477 Merge branch 'backport-ticlang' into ticlang-compilers 2024-02-09 15:56:06 -05:00