Brad King
bfca444b92
nghttp2: Drop unused configuration value from build within CMake
...
Since commit 7ce2a682a3 (nghttp2 2022-09-21 (87fef4ab), 2022-09-21,
v3.26.0-rc1~455^2~1^2) we do not need `SIZEOF_INT_P`.
2023-02-16 15:13:52 -05:00
Brad King
2a758e34ea
Merge topic 'ci-cxx-modules-clang' into release-3.26
...
65ff605e44 ci: use the latest clang-scan-deps options
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8208
2023-02-16 11:20:49 -05:00
Kefu Chai
65ff605e44
ci: use the latest clang-scan-deps options
...
P1689 support has been merged in Clang trunk and Clang 16 branch, so we
are now able to use the finalized clang-scan-deps command line options.
See also llvm-project's clang/test/ClangScanDeps/P1689.cppm [1] for the
samples of clang-scan-deps usages.
[1] https://github.com/llvm/llvm-project/blob/6d859df46e/clang/test/ClangScanDeps/P1689.cppm
Signed-off-by: Kefu Chai <kefu.chai@scylladb.com >
2023-02-15 14:40:11 -05:00
Brad King
037975ef69
CMake 3.26.0-rc3
v3.26.0-rc3
2023-02-15 09:34:02 -05:00
Brad King
bcf60b6d3d
Merge topic 'LLVMFlang-post-preprocessed' into release-3.26
...
3f1e58c5b9 LLVMFlang: Fix post-preprocess compile for fixed-form Fortran
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Andrzej Warzyński <andrzej.warzynski@gmail.com >
Merge-request: !8205
2023-02-15 09:00:10 -05:00
David Truby
3f1e58c5b9
LLVMFlang: Fix post-preprocess compile for fixed-form Fortran
...
LLVM Flang's preprocessor output is always valid fixed form Fortran with
a fixed line length of 72. If an application tries to use fixed form
with a different line length, this will fail in the
post-preprocessing compilation step as they will pass a flag asking for
a different fixed line length.
To fix this we can pass -ffixed-line-length-72 to the post-preprocess
compilation stage. This will be ignored when the input is free form
Fortran, and force to a 72 line length when the input is fixed.
2023-02-14 09:22:12 -05:00
Brad King
d18dd364d3
Merge topic 'lcc-major-version' into release-3.26
...
2a75edb342 LCC: Fix extraction of __LCC__ version components
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8199
2023-02-14 08:46:17 -05:00
Brad King
2a75edb342
LCC: Fix extraction of __LCC__ version components
...
Previously the logic only worked for major versions of the form `1.xx`.
Fix it to work with versions `2.xx` and above.
2023-02-13 09:29:32 -05:00
Brad King
e66bd7f584
Merge topic 'test-https-connections' into release-3.26
...
3350c17451 ci: Enable file(DOWNLOAD) TLS_VERIFY test case in CI jobs
17b47da3d8 Tests: Add test for file(DOWNLOAD) with TLS_VERIFY
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8194
2023-02-11 06:33:19 -05:00
Brad King
3350c17451
ci: Enable file(DOWNLOAD) TLS_VERIFY test case in CI jobs
2023-02-10 12:22:00 -05:00
scivision
17b47da3d8
Tests: Add test for file(DOWNLOAD) with TLS_VERIFY
...
Occasionally curl updates introduce errors in https verification.
Add an explicit test for this capability, activated by an undocumented
option that we can use in CI to specify a URL to test.
Co-authored-by: Brad King <brad.king@kitware.com >
Fixes : #24405
Issue: #24147
Issue: #24398
2023-02-10 12:22:00 -05:00
Brad King
9b7d086220
Merge topic 'curl-macos-tls' into release-3.26
...
0d312728eb curl: Backport upstream fix for SecureTransport on macOS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8193
2023-02-10 09:58:48 -05:00
Brad King
0d312728eb
curl: Backport upstream fix for SecureTransport on macOS
...
Backport upstream curl commit `16bb32e104d` (sectransp: fix for
incomplete read/writes, 2023-01-05) to fix TLS support on macOS.
Fixes : #24398
2023-02-09 16:54:25 -05:00
Brad King
29bcbcab4f
CMake 3.26.0-rc2
v3.26.0-rc2
2023-02-09 14:21:24 -05:00
Brad King
2dac3887da
Merge topic 'doc-configure-log' into release-3.26
...
2311b0a7f7 Help: Clarify that the documented configure log location is not stable
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8191
2023-02-09 14:19:41 -05:00
Brad King
2311b0a7f7
Help: Clarify that the documented configure log location is not stable
...
Issue: #23200
2023-02-09 13:39:49 -05:00
Brad King
5a402f4999
Merge topic 'clarify-clang-tidy-export-fixes-doc' into release-3.26
...
f9d9258d5c Help: Avoid making guarantees about <LANG>_CLANG_TIDY_EXPORT_FIXES_DIR
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8189
2023-02-09 13:23:01 -05:00
Kyle Edwards
f9d9258d5c
Help: Avoid making guarantees about <LANG>_CLANG_TIDY_EXPORT_FIXES_DIR
...
Rather than stating specifically which files may be written or deleted,
simply state that CMake owns the directory and that a dedicated
directory should be used for exporting the fixes.
2023-02-09 11:41:48 -05:00
Brad King
f9ccb7fada
Merge topic 'curl-windows-restore-tls1.3' into release-3.26
...
8675d8bdb0 curl: Enable schannel TLS 1.3 support on Windows 11
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8184
2023-02-09 10:10:18 -05:00
Brad King
0a95c3579b
Merge topic 'doc-find_package-root-case' into release-3.26
...
20e727a408 Help: Clarify that <PackageName>_ROOT variable names are case-preserved
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8182
2023-02-09 10:01:51 -05:00
Brad King
7f90210dd6
Merge topic 'stop_parsing_after_first_script_arg' into release-3.26
...
f9e8a067c2 cmake: Stop parsing after `--` when detecting script mode
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8186
2023-02-09 09:58:13 -05:00
Kyle Edwards
e25d3a0d5a
Merge topic 'target-runtime-dlls-doc' into release-3.26
...
e0335f5830 Help: Update $<TARGET_RUNTIME_DLLS> docs to use cmake -E copy -t
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8185
2023-02-09 08:45:38 -05:00
Robert Maynard
f9e8a067c2
cmake: Stop parsing after -- when detecting script mode
...
The fix in commit 08aa516880 (cmake: Stop parsing after `--` when
detecting script mode, 2022-12-06, v3.26.0-rc1~216^2) only corrected the
case where `-P -- -P <arg>` occurred and not `-P -- -P -<other>`.
Fixes : #24220
2023-02-08 17:21:10 -05:00
Kyle Edwards
e0335f5830
Help: Update $<TARGET_RUNTIME_DLLS> docs to use cmake -E copy -t
...
The -t argument was added to support using $<TARGET_RUNTIME_DLLS>
in the case that no DLLs are needed. Update the documentation
accordingly.
2023-02-08 15:10:45 -05:00
Brad King
8675d8bdb0
curl: Enable schannel TLS 1.3 support on Windows 11
...
Revert commit c0a4536cec (curl: Disable schannel TLS 1.3 support on
Windows 11, 2022-11-09, v3.25.0~13^2). The curl bug it avoided was
fixed by upstream curl commit `4f42150d0` (sendf: change Curl_read_plain
to wrap Curl_recv_plain , 2022-11-14, curl-7_87_0~129), which we have
since recently updating to curl 7.87.0.
Issue: #24147
2023-02-08 14:55:24 -05:00
Brad King
20e727a408
Help: Clarify that <PackageName>_ROOT variable names are case-preserved
...
The name comes from the case-preserved first argument to
`find_package`.
2023-02-08 14:06:38 -05:00
Brad King
fc4e31d703
Merge topic 'automoc-message-typo' into release-3.26
...
d0f49327f9 AutoMoc: Fix verbose mode message
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8171
2023-02-08 11:39:01 -05:00
Brad King
4ce614eb5a
Merge topic 'findopenssl-static-findpkg-fix' into release-3.26
...
652f34eab9 FindOpenSSL: Use static pkgconfig if OPENSSL_USE_STATIC_LIBS=ON
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8174
2023-02-08 11:37:59 -05:00
Brad King
c36b18a4b6
Merge topic 'doc-FetchContent-catch2' into release-3.26
...
6d48f48d5d FetchContent: Bump documented example Catch2 to v3.0.1
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8172
2023-02-08 11:36:25 -05:00
Brad King
fd36f3f111
Merge topic 'doc-cpack-generator-fields' into release-3.26
...
4cc4be1414 Help: CPack FreeBSD Generator page use field lists
083a57550b Help: CPack DragNDrop Generator page use field lists
2c46fe7c96 Help: CPack Archive Generator page use field lists
5defbf7430 Help: CPack RPM Generator page use field lists
27d45be75d Help: CPack NuGet Generator page use field lists
fbb5ac4735 Help: CPack DEB Generator page use field lists
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8134
2023-02-08 11:29:51 -05:00
Brad King
f950cafcc2
Merge topic 'ci-docker' into release-3.26
...
fc8335a17f ci: Reduce Fedora and Debian image sizes even more
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8173
2023-02-08 10:16:59 -05:00
Alex Turbov
fc8335a17f
ci: Reduce Fedora and Debian image sizes even more
...
Apply the approach from commit 354fdf2116 (ci: Reduce intermediate
docker layers and final image size, 2023-02-01) to more stages.
Also:
* Use cache (prefetch metadata and packages) to reduce network I/O
and speedup image build.
* Use `tmpfs` to drop logs produced by the package manager.
2023-02-07 11:58:21 -05:00
Joerg Bornemann
d0f49327f9
AutoMoc: Fix verbose mode message
...
AutoMoc generates because moc settings changed, not uic.
2023-02-07 10:59:51 -05:00
Eisuke Kawashima
6d48f48d5d
FetchContent: Bump documented example Catch2 to v3.0.1
...
The previous Catch2 v2.13.4 does not compile on some platforms [1].
[1] https://github.com/catchorg/Catch2/issues/2326
2023-02-07 10:54:25 -05:00
Kyle Edwards
652f34eab9
FindOpenSSL: Use static pkgconfig if OPENSSL_USE_STATIC_LIBS=ON
...
Fixes : #24395
2023-02-07 10:38:20 -05:00
Alex Turbov
4cc4be1414
Help: CPack FreeBSD Generator page use field lists
2023-02-07 09:34:58 -05:00
Alex Turbov
083a57550b
Help: CPack DragNDrop Generator page use field lists
2023-02-07 09:34:58 -05:00
Alex Turbov
2c46fe7c96
Help: CPack Archive Generator page use field lists
2023-02-07 09:34:58 -05:00
Alex Turbov
5defbf7430
Help: CPack RPM Generator page use field lists
2023-02-07 09:34:58 -05:00
Alex Turbov
27d45be75d
Help: CPack NuGet Generator page use field lists
2023-02-07 09:34:58 -05:00
Alex Turbov
fbb5ac4735
Help: CPack DEB Generator page use field lists
2023-02-07 09:34:58 -05:00
Brad King
26f962f8b1
Merge branch 'release-3.25' into release-3.26
2023-02-07 09:33:52 -05:00
Brad King
5d40cf45fa
Merge topic 'android-ndk-legacy-toolchain' into release-3.26
...
cb0b9452e8 Android: Provide CMAKE_ANDROID_NDK_VERSION with NDK legacy toolchain file
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8170
2023-02-07 09:32:19 -05:00
Brad King
c323d446d6
Merge topic 'cxxmodules-proper-mangling' into release-3.26
...
3f1e005067 Tests/RunCMake/CXXModules: declare `forwarding` as `extern "C++"`
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8159
2023-02-07 09:01:53 -05:00
Brad King
7aee115ff4
Merge topic 'FindCUDAToolkit-nvrtc-builtins' into release-3.26
...
9688a8ebc2 FindCUDAToolkit: Fix `nvrtc_builtins_static` library name
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8162
2023-02-07 09:00:35 -05:00
Brad King
33a30da3da
Merge topic 'docexe' into release-3.26
...
1e95f765d5 Help: Clarify interaction of execute_process *_FILE and *_VARIABLE options
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8165
2023-02-07 08:58:48 -05:00
Brad King
94804e55f5
Merge topic 'docfix' into release-3.26
...
d3ece40602 Help: cmake (1): remove -E server as not available
b19036d8b3 Help: CheckSource{Compiles,Runs}: fix typo and clarify
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8164
2023-02-07 08:57:45 -05:00
Brad King
e3593a7a9f
Merge topic 'ci-docker-layers' into release-3.26
...
354fdf2116 ci: Reduce intermediate docker layers and final image size
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8145
2023-02-07 08:56:35 -05:00
Brad King
29dc3e7722
Merge branch 'android-ndk-legacy-toolchain' into release-3.25
...
Merge-request: !8170
2023-02-06 17:27:48 -05:00
Brad King
cb0b9452e8
Android: Provide CMAKE_ANDROID_NDK_VERSION with NDK legacy toolchain file
...
This variable has been provided since commit 746906242d (Android: Detect
NDK version number, 2021-02-26, v3.20.0-rc3~1^2~3) when using CMake's
NDK support or the modern NDK toolchain file. Since commit 005e2cdfb0
(Android: Do not use gold for ndk >= r22, 2021-02-26, v3.20.0-rc3~1^2)
we need the value in our compiler/platform information files, so provide
it when using the NDK legacy toolchain file too.
Revert commit 1c86e397fe (Android/Clang: Tolerate undefined
CMAKE_ANDROID_NDK_VERSION, 2022-09-16, v3.25.0-rc1~118^2) since the
variable should now always be defined.
Issue: #21772
Fixes : #24386
2023-02-06 17:17:25 -05:00