Commit Graph

66459 Commits

Author SHA1 Message Date
Brad King
f2596dfa0e macOS: Work around bug in system curl 8.{3,4,5} LibreSSL backend
Since commit d3cbee99e3 (macOS: Prefer building with system-provided
curl, 2024-05-09, v3.30.0-rc1~130^2~1) CMake uses the macOS-provided
curl, which uses the LibreSSL backend by default.  This exposes us to
curl issue 12525, created and fixed by the following upstream curl
commits:

* commit `bec0c5bbf` (openssl: switch to modern init for
                      LibreSSL 2.7.0+, 2023-08-07, `curl-8_3_0~201`)
* commit `9f2d2290d` (openssl: re-match LibreSSL deinit with init,
                      2023-12-15, `curl-8_6_0~219`)

Work around the bug by preferring the secure-transport backend by
default on the problematic versions of curl.
2024-07-17 09:13:26 -04:00
Brad King
3b2ef9b54c Merge branch 'release-3.29' into release-3.30 2024-07-16 13:49:33 -04:00
Brad King
928571f3c2 CMake 3.29.7 v3.29.7 2024-07-16 13:14:29 -04:00
Brad King
5a3eabcd1f Merge topic 'custom-transitive-properties' into release-3.30
7a77a6c642 Restore support for exporting INTERFACE with missing dependencies

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Acked-by: Robert Maynard <robertjmaynard@gmail.com>
Merge-request: !9656
2024-07-16 10:32:14 -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
365619ed97 Merge topic 'doc-mark-deprecated' into release-3.30
723e236224 Help: Move deprecated modules and variables to dedicated sections

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9651
2024-07-16 10:29:58 -04:00
Brad King
45a46e97b7 Merge topic 'libuv-idna' into release-3.30
890beb19e6 libuv: backport IDNA input/output hardening fixes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9658
2024-07-16 10:28:16 -04:00
Brad King
e69b8a4ff1 Merge topic 'FindMatlab-no-langs' into release-3.30
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:16 -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
權少
723e236224 Help: Move deprecated modules and variables to dedicated sections
These were missed in commit e0355c4ea9 (FindBoost: Add policy to remove
this module, 2024-05-03, v3.30.0-rc1~150^2) and commit 0aba13a2f3
(ctest: Add explicit options for TLS server verification, 2024-03-01,
v3.30.0-rc1~408^2~3).
2024-07-15 16:55:38 -04:00
Brad King
890beb19e6 libuv: backport IDNA input/output hardening fixes
Backport libuv commit `0f2d7e78` (fix: always zero-terminate idna
output, 2024-01-18, `v1.48.0~4`) and libuv commit `3530bcc3` (fix:
reject zero-length idna inputs, 2024-01-18, `v1.48.0~3`).

Fixes: #26112
2024-07-15 15:55:23 -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
Brad King
7a77a6c642 Restore support for exporting INTERFACE with missing dependencies
Since commit c16acd35b3 (GenEx: Add support for custom transitive link
properties, 2024-05-09, v3.30.0-rc1~82^2) evaluation of
`TRANSITIVE_LINK_PROPERTIES` by `install(EXPORT)` enables discovery of
missing dependencies on INTERFACE libraries that we did not previously
diagnose.  This regressed existing projects that relied on such
non-diagnosis.  Although commit 2fc9e482a9 (Evaluation of
TRANSITIVE_LINK_PROPERTIES isn't considered a usage, 2024-07-05) fixed
this, it also made a significant change to the `UseTo` infrastructure
that may have other subtle effects.  Replace the fix with an approach
that explicitly models suppression of the relevant diagnostics.

Fixes: #26108
2024-07-15 14:08:10 -04:00
Kyle Edwards
b9e2f6828f Merge topic 'TRANSITIVE_LINK_PROPERTIES_isnt_usage' into release-3.30
2fc9e482a9 Evaluation of TRANSITIVE_LINK_PROPERTIES isn't considered a usage

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9643
2024-07-08 10:04:22 -04:00
Craig Scott
b192bf1c1c Merge topic 'fetchcontent-debug-log-level' into release-3.30
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:02 -04:00
Robert Maynard
2fc9e482a9 Evaluation of TRANSITIVE_LINK_PROPERTIES isn't considered a usage
Fixes #26108
2024-07-05 13:16:47 -04:00
Brad King
f00675071f Merge topic 'test-ExternalProject' into release-3.30
fe8dc3012e Tests: Fix RunCMake.ExternalProject when git is not available

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Acked-by: Christoph Grüninger <foss@grueninger.de>
Merge-request: !9639
2024-07-04 10:05:26 -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
Brad King
fe8dc3012e Tests: Fix RunCMake.ExternalProject when git is not available
Move Git-dependent test cases added by commit 2ef3bd9186
(ExternalProject: Add TLS version options for https connections,
2024-02-26, v3.30.0-rc1~471^2) into the block of cases that run only
when Git is found.

Fixes: #26104
2024-07-03 10:44:15 -04:00
Brad King
c7232c3a2a Merge topic 'ci-cmake-update' into release-3.30
1fe21da240 ci: Update CMake version to 3.30.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9638
2024-07-03 08:27:41 -04:00
Brad King
1fe21da240 ci: Update CMake version to 3.30.0 2024-07-02 13:01:39 -04:00
Brad King
0f88f57389 CMake 3.30.0 v3.30.0 2024-07-02 10:40:35 -04:00
Brad King
e1050b6298 Merge branch 'release-3.29' into release-3.30 2024-07-02 08:07:57 -04:00
Brad King
ee6ff50cba Merge branch 'release-3.28' into release-3.29 2024-07-02 08:07:43 -04:00
Brad King
012bca3ccb Merge topic 'ctest-windows-std-handles' into release-3.28
e4d0169107 ctest: Fix spurious build failures with CTEST_USE_LAUNCHERS on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9598
2024-07-02 08:07:09 -04:00
Brad King
9f1fd88e44 Merge topic 'fix-doc-manual-cmake-cxxmodules' into release-3.30
727d25152b Help: Fix typo in cmake-cxxmodules(7) note syntax

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !9625
2024-06-27 11:08:06 -04:00
權少
727d25152b Help: Fix typo in cmake-cxxmodules(7) note syntax
Fix a typo from commit 5bbd2c12db (Help/cmake-cxxmodules: describe the
compilation strategy, 2024-03-26, v3.30.0-rc1~251^2~22).
2024-06-26 09:06:17 -04:00
Brad King
6241e47184 Merge topic 'ci-cmake-update' into release-3.30
bd84ed18a7 ci: Update CMake version to 3.30.0-rc4

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !9624
2024-06-26 08:37:40 -04:00
Brad King
bd84ed18a7 ci: Update CMake version to 3.30.0-rc4 2024-06-24 14:30:04 -04:00
Brad King
5fa7ef4e44 CMake 3.30.0-rc4 v3.30.0-rc4 2024-06-24 10:31:45 -04:00
Brad King
30d8ead3cb Merge topic 'emacs-bracket-syntax-fix' into release-3.30
3ecf6bd1b1 cmake-mode.el: fix bracket string/comment syntax-propertize

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9621
2024-06-24 10:25:42 -04:00
Brad King
f9393aaeba Merge branch 'release-3.29' into release-3.30 2024-06-24 10:24:02 -04:00
Brad King
8a5583e37f Merge topic 'vs-17.11' into release-3.30
dfe0f3f358 VS: Fix '-T version=14.4x' under VS 17.1x

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9622
2024-06-24 10:19:43 -04:00
eutro
3ecf6bd1b1 cmake-mode.el: fix bracket string/comment syntax-propertize
With `lexical-binding: t`, the `end` variable is undefined in
`cmake--syntax-propertize-until-bracket-close`, causing syntax
highlighting errors. This fixes that by passing `end` from the caller.
2024-06-24 09:51:05 -04:00
Brad King
be53dcdda6 Merge topic 'vs-17.11' into release-3.29
dfe0f3f358 VS: Fix '-T version=14.4x' under VS 17.1x

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9622
2024-06-24 09:43:02 -04:00
Brad King
b14218c9f6 Merge branch 'release-3.29' into release-3.30 2024-06-24 09:40:46 -04:00
Brad King
d1c614d87e Merge topic 'libuv-macos-kqueue' into release-3.30
422c1de564 libuv: macos: restore use of kqueue instead of posix poll
7e3519e705 libuv: macos: reap child processes more reliably when using kqueue

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9619
2024-06-24 09:38:41 -04:00
Brad King
1deb543089 Merge topic 'libuv-macos-kqueue' into release-3.29
422c1de564 libuv: macos: restore use of kqueue instead of posix poll
7e3519e705 libuv: macos: reap child processes more reliably when using kqueue

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9619
2024-06-24 09:37:18 -04:00
Brad King
1c4c5ad545 Merge topic 'ctest-windows-std-handles' into release-3.29
e4d0169107 ctest: Fix spurious build failures with CTEST_USE_LAUNCHERS on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9598
2024-06-24 09:36:19 -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
Brad King
c43dc60c64 Merge topic 'nmc-config-list' into release-3.30
b1a804d616 Ninja Multi-Config: Fix crash if config list is changed in subdirectory
9f8afacb3e cmGlobalNinjaGenerator: Reuse local generator caching of config list
48b911e3e5 cmGlobalNinjaGenerator: Factor out helper for global config list lookup
e2c6a54b07 cmGlobalNinjaGenerator: De-duplicate CMAKE_CONFIGURATION_TYPES lookup

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !9618
2024-06-24 09:21:12 -04:00
Brad King
dfe0f3f358 VS: Fix '-T version=14.4x' under VS 17.1x
Starting with VS 17.10 the v143 toolset reserves versions `14.30`
through `14.49`.  This is the first time that the first three digits of
the version do not match the toolset name.  Extend the special case from
commit d256581bb0 (VS: Fix '-T version=14.40' under VS 17.10 preview 1,
2024-02-19, v3.29.0-rc2~10^2) to cover the entire reserved version range.
2024-06-24 08:47:33 -04:00
Brad King
422c1de564 libuv: macos: restore use of kqueue instead of posix poll
Revert commit f54ec4e7f9 (libuv: macos: use posix poll instead of
kqueue, 2024-03-31, v3.29.1~7^2) and its parent.  It is not necessary
after the kqueue-based implementation was fixed to reap child processes
more reliably.

Issue: #25839
2024-06-21 16:45:55 -04:00
Brad King
7e3519e705 libuv: macos: reap child processes more reliably when using kqueue
Backport libuv commit `42cc412c4a` (darwin,process: feed kevent the
signal to reap children, 2023-02-01, `v1.45.0~55`) from libuv PR 3893.

Fixes: #25839
2024-06-21 15:01:15 -04:00
Brad King
b1a804d616 Ninja Multi-Config: Fix crash if config list is changed in subdirectory
Look up the value of `CMAKE_CONFIGURATION_TYPES` only in the top level
directory.

Fixes: #26064
2024-06-21 12:21:36 -04:00
Brad King
9f8afacb3e cmGlobalNinjaGenerator: Reuse local generator caching of config list 2024-06-21 10:59:30 -04:00
Brad King
48b911e3e5 cmGlobalNinjaGenerator: Factor out helper for global config list lookup 2024-06-21 10:51:21 -04:00
Brad King
e2c6a54b07 cmGlobalNinjaGenerator: De-duplicate CMAKE_CONFIGURATION_TYPES lookup 2024-06-21 10:51:21 -04:00
Brad King
8019272afd Merge topic 'doc-cpack-nuget' into release-3.30
a08faa1a2a Help: Mention CPack/NuGet additions in the 3.30 release notes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !9613
2024-06-21 10:41:15 -04:00
Marc Chevrier
576567f028 Link feature attributes: stabilization
* enhance OVERRIDE handling
* Update wording
2024-06-21 11:18:20 +02:00