Commit Graph

67295 Commits

Author SHA1 Message Date
Brad King
fdceee50e6 Merge topic 'normalize-install-destination-paths'
6a1fac1450 install: Normalize DESTINATION paths
2184fcfb00 Tests: Configure RunCMake.install cases with correct build type
5a8a6dfe81 cmGeneratorExpression: Change Find() parameter type to cm::string_view
d810374b3d install(PACKAGE_INFO): Remove outdated TODO comment
d13ed01d54 Tests: Remove unused files from RunCMake.install

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9800
2024-09-20 10:27:30 -04:00
Brad King
ac8738c077 Merge topic 'update-kwsys'
c89c49d67b Merge branch 'upstream-KWSys' into update-kwsys
5c18d48fda KWSys 2024-09-19 (2d72c140)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9833
2024-09-20 10:12:11 -04:00
Brad King
7fe17adf8d Merge topic 'ci-clang19-windows'
96bcf7db16 ci: Update LLVM/Clang to 19.1 in nightly CI jobs on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9834
2024-09-20 10:11:03 -04:00
Brad King
2cfe2ac0c7 Merge topic 'update-curl'
022d16659b curl: Work around missing OpenSSL symbol with LCC 1.23
01dde28dab ci: curl with Secure Transport on macOS does not support TLS 1.3
da52e4e571 curl: Set build options the way we need for CMake
ce908c42a3 Merge branch 'upstream-curl' into update-curl
1a2b208170 curl 2024-09-18 (7eb8c048)
862bd5defc curl: Update script to get curl 8.10.1

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9832
2024-09-20 10:09:47 -04:00
Brad King
ce8cd49dd7 Merge topic 'update-libarchive'
387a9a746a libarchive: tar: fix memory leaks when reading symlinks or parsing pax headers
dad12c8010 libarchive: Set build options the way we need for CMake
21affa271e Utilities: Update hard-coded try_compile results for libarchive 3.7.5
fe3f0d469f Merge branch 'upstream-LibArchive' into update-libarchive
9539a0df9c LibArchive 2024-09-13 (12ecf841)
dfbb1f2f0d libarchive: Update script to get 3.7.5

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9826
2024-09-20 10:07:48 -04:00
Brad King
1226c92515 Merge branch 'release-3.30' 2024-09-20 10:05:54 -04:00
Brad King
4aca6d8327 Merge topic 'cpack-nuget-native'
c358872976 CPack/NuGet: Add native0.0 to build dependencies in groups

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9829
2024-09-20 10:05:53 -04:00
Brad King
6323fdc9cf Merge topic 'cpack-nuget-native' into release-3.30
c358872976 CPack/NuGet: Add native0.0 to build dependencies in groups

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9829
2024-09-20 10:05:52 -04:00
Brad King
5a2f10946b Merge branch 'release-3.30' 2024-09-20 10:04:22 -04:00
Brad King
e8597f2b09 Merge topic 'FindMatlab-mcr'
9ceca05e6b FindMatlab: Search mex and mx libraries for MCR
67e3c6b6eb FindMatlab: Cache whether MATLAB root contains MCR or MATLAB
b426ce1d04 FindMatlab: Add support for MCR distributions without mex.h
cd4782bac3 FindMatlab: Only consider versioned MCR subdirectory if it exists

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9831
2024-09-20 10:04:21 -04:00
Brad King
304c47a7c1 Merge topic 'FindMatlab-mcr' into release-3.30
9ceca05e6b FindMatlab: Search mex and mx libraries for MCR
67e3c6b6eb FindMatlab: Cache whether MATLAB root contains MCR or MATLAB
b426ce1d04 FindMatlab: Add support for MCR distributions without mex.h
cd4782bac3 FindMatlab: Only consider versioned MCR subdirectory if it exists

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9831
2024-09-20 10:04:20 -04:00
Brad King
33ca41ed12 Merge branch 'release-3.30' 2024-09-20 10:02:54 -04:00
Brad King
b9eb9cfbac Merge topic 'ci-xcode-16.0'
cc293b4963 ci: Run RunCMake.ExternalProject serially in macos-x86_64 Xcode job
26359076c8 gitlab-ci: update macOS jobs to use Xcode 16.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9830
2024-09-20 10:02:53 -04:00
Brad King
c544ad8725 Merge topic 'ci-xcode-16.0' into release-3.30
cc293b4963 ci: Run RunCMake.ExternalProject serially in macos-x86_64 Xcode job
26359076c8 gitlab-ci: update macOS jobs to use Xcode 16.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9830
2024-09-20 10:02:52 -04:00
Kitware Robot
7e26c7cad9 CMake Nightly Date Stamp 2024-09-20 00:01:19 -04:00
Brad King
96bcf7db16 ci: Update LLVM/Clang to 19.1 in nightly CI jobs on Windows 2024-09-19 11:58:41 -04:00
Brad King
c89c49d67b Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2024-09-19 (2d72c140)
2024-09-19 11:34:52 -04:00
KWSys Upstream
5c18d48fda KWSys 2024-09-19 (2d72c140)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit 2d72c140191cfeb1e5bf447683dac2c222603207 (master).

Upstream Shortlog
-----------------

Mike Lundy (1):
      ee3223d7 SystemTools: fix clonefile optimization on macOS
2024-09-19 11:34:52 -04:00
Brad King
77971a3b16 Merge topic 'install-type-libexec'
39603a7e5c install: Add TYPE LIBEXEC for FILES and DIRECTORY

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9817
2024-09-19 11:21:38 -04:00
Brad King
63c4f6a226 Merge topic 'find-hdf5-more-smoothly'
3137faae6f FindHDF5: Avoid mentioning empty version when not found

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9828
2024-09-19 11:19:36 -04:00
Brad King
c060073721 Merge topic 'vs-sdk-custom-commands'
fd66818653 VS: Fix custom commands for DOTNET_SDK builds

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9827
2024-09-19 11:18:24 -04:00
Brad King
022d16659b curl: Work around missing OpenSSL symbol with LCC 1.23
Extend commit 8443dfa946 (curl: Work around missing OpenSSL symbol on
machine with LCC 1.23, 2023-01-30, v3.26.0-rc1~18^2) to cover the
`X509_get_signature_nid` symbol used by curl 8.10.
2024-09-19 11:03:46 -04:00
Brad King
cc293b4963 ci: Run RunCMake.ExternalProject serially in macos-x86_64 Xcode job
Running tests concurrently makes the machine busy enough that the
`INACTIVITY_TIMEOUT` test cases timeout.  Run it serially.
2024-09-19 10:44:01 -04:00
Brad King
01dde28dab ci: curl with Secure Transport on macOS does not support TLS 1.3
curl 8.10 now rejects TLS 1.3 since the Secure Transport backend
does not support it.
2024-09-19 10:30:05 -04:00
Brad King
da52e4e571 curl: Set build options the way we need for CMake
Set options added by the update to curl 8.10.1.
2024-09-19 10:15:40 -04:00
Brad King
387a9a746a libarchive: tar: fix memory leaks when reading symlinks or parsing pax headers
Backport [libarchive PR 2338] to fix [libarchive issue 2336].

[libarchive PR 2338]: https://github.com/libarchive/libarchive/pull/2338
[libarchive issue 2336]: https://github.com/libarchive/libarchive/issues/2336
2024-09-19 10:01:04 -04:00
Hermann von Kleist
9ceca05e6b FindMatlab: Search mex and mx libraries for MCR
Further changes:
- Better documentation of library availabilities
- Log each library location in debug mode

Fixes: #26306
2024-09-19 15:33:19 +02:00
Hermann von Kleist
67e3c6b6eb FindMatlab: Cache whether MATLAB root contains MCR or MATLAB
Fixes: #26306
2024-09-19 15:33:06 +02:00
Craig Scott
6a1fac1450 install: Normalize DESTINATION paths
The file generated by install(EXPORT) computes _IMPORT_PREFIX
in a way that assumes a normalized path. If the DESTINATION
contains any ../ components, the computed _IMPORT_PREFIX
would be wrong. Force the DESTINATION path to be normalized,
subject to the new CMP0176 policy.

Also normalize all other DESTINATION paths for consistency,
except for INCLUDES DESTINATION, which is not strictly a
destination but rather a search path to add.

Fixes: #26252
2024-09-19 20:31:47 +10:00
Diego Dassie
c358872976 CPack/NuGet: Add native0.0 to build dependencies in groups
Add the `native0.0` framework to the list of allowed frameworks allowing
native (C/C++) NuGet packages. This extends commit 0f4d3664a9
(CPack/NuGet: Build dependencies in groups, 2024-06-01, v3.30.0-rc1~18^2).

Fixes: #26305
2024-09-19 08:21:38 +02:00
Kitware Robot
94cde61e8c CMake Nightly Date Stamp 2024-09-19 00:01:15 -04:00
Calum Robinson
fd66818653 VS: Fix custom commands for DOTNET_SDK builds
Fixes: #23723
2024-09-18 18:26:27 +01:00
Brad King
ce908c42a3 Merge branch 'upstream-curl' into update-curl
* upstream-curl:
  curl 2024-09-18 (7eb8c048)
2024-09-18 11:51:18 -04:00
Curl Upstream
1a2b208170 curl 2024-09-18 (7eb8c048)
Code extracted from:

    https://github.com/curl/curl.git

at commit 7eb8c048470ed2cc14dca75be9c1cdae7ac8498b (curl-8_10_1).
2024-09-18 11:24:51 -04:00
Brad King
862bd5defc curl: Update script to get curl 8.10.1 2024-09-18 11:24:37 -04:00
Hermann von Kleist
b426ce1d04 FindMatlab: Add support for MCR distributions without mex.h
Consider `matrix.h` in search for include dirs.

Fixes: #26306
2024-09-18 11:19:16 -04:00
Hermann von Kleist
cd4782bac3 FindMatlab: Only consider versioned MCR subdirectory if it exists
Issue: #26306
2024-09-18 11:16:03 -04:00
Chen Linxuan
39603a7e5c install: Add TYPE LIBEXEC for FILES and DIRECTORY
Signed-off-by: Chen Linxuan <me@black-desk.cn>
2024-09-18 11:05:28 -04:00
Mark Abraham
3137faae6f FindHDF5: Avoid mentioning empty version when not found
Previously the not-found message confusingly mentioned an empty version
number:

    -- Could NOT find HDF5: Found unsuitable version "", ...

Don't confuse FindPackageHandleStandardArgs by defining an empty
version.
2024-09-18 10:55:11 -04:00
Brad King
b69b5a94d1 Merge topic 'execute_process-encoding'
20f059d025 execute_process: Warn on unknown ENCODING value

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9825
2024-09-18 09:41:34 -04:00
Brad King
d68ca050ef Merge topic 'vs-always-restore-net-sdk'
3283ef47d1 VS: Fix DOTNET_SDK builds when no VS_PACKAGE_REFERENCES set

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9807
2024-09-18 09:40:03 -04:00
Brad King
b46ec5734e Merge topic 'autogen-exe-per-config'
32c8cb2960 Autogen: Avoid running multiple cmake_autogen command in Xcode

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9810
2024-09-18 09:39:00 -04:00
Brad King
fbb9b19eec Merge topic 'link_deduplication_imported_targets'
502610733f Ensure imported targets in sibling dirs are deduplicated

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9821
2024-09-18 09:37:36 -04:00
Kitware Robot
01d8a955be CMake Nightly Date Stamp 2024-09-18 00:01:13 -04:00
Craig Scott
2184fcfb00 Tests: Configure RunCMake.install cases with correct build type
The run_install_test() function would build and install with the
configuration hard-coded to Debug, but the configuration step
did not specify any configuration. This resulted in a "no config"
configuration, and the install step then wouldn't install the Debug
export files. This would only be a problem if using a single config
CMake generator, and it appears none of the existing tests relied
on actually installing the config-specific export file.
2024-09-18 08:39:59 +10:00
Craig Scott
5a8a6dfe81 cmGeneratorExpression: Change Find() parameter type to cm::string_view 2024-09-18 08:39:59 +10:00
Craig Scott
d810374b3d install(PACKAGE_INFO): Remove outdated TODO comment
The DESTINATION keyword is supported for this form.
2024-09-18 08:39:58 +10:00
Craig Scott
d13ed01d54 Tests: Remove unused files from RunCMake.install 2024-09-18 08:39:57 +10:00
Brad King
26359076c8 gitlab-ci: update macOS jobs to use Xcode 16.0
The `XCTest` fails with Xcode 16.0.
Exclude it pending further investigation.

Issue: #26301
2024-09-17 14:35:26 -04:00
Brad King
dad12c8010 libarchive: Set build options the way we need for CMake 2024-09-17 13:03:11 -04:00