summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Xcode: Restore suppression of header mapsBrad King2023-02-175-0/+15
| | | | | | | | | | | | | | | | | | | | In commit 8527f42b96 (Xcode: Explicitly disable deprecated user include path feature, 2023-01-31, v3.26.0-rc1~7^2) we dropped the Xcode build setting `USE_HEADERMAP = NO` because Xcode 14's "Build Documentation" feature (`xcodebuild RUN_DOCUMENTATION_COMPILER=YES`) fails in some cases without header maps. However, enabling header maps causes Xcode to add `-iquote .../foo.hmap` and `-I .../bar.hmap` flags that can change the intended header file search order based on the contents of the header maps. This can break existing projects. Restore the `USE_HEADERMAP = NO` setting to fix the header file search order. Further investigation will be needed to resolve the problematic cases with the Xcode 14 "Build Documentation" feature. Meanwhile projects encountering such cases can set the `XCODE_ATTRIBUTE_USE_HEADERMAP` target property to `YES` themselves. Fixes: #24418 Issue: #24379
* Merge topic 'ci-cxx-modules-clang' into release-3.26Brad King2023-02-163-7/+8
|\ | | | | | | | | | | | | 65ff605e44 ci: use the latest clang-scan-deps options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8208
| * ci: use the latest clang-scan-deps optionsKefu Chai2023-02-153-7/+8
|/ | | | | | | | | | | | 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>
* CMake 3.26.0-rc3v3.26.0-rc3Brad King2023-02-151-1/+1
|
* Merge topic 'LLVMFlang-post-preprocessed' into release-3.26Brad King2023-02-151-0/+1
|\ | | | | | | | | | | | | | | 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
| * LLVMFlang: Fix post-preprocess compile for fixed-form FortranDavid Truby2023-02-141-0/+1
|/ | | | | | | | | | | | 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.
* Merge topic 'lcc-major-version' into release-3.26Brad King2023-02-142-8/+4
|\ | | | | | | | | | | | | 2a75edb342 LCC: Fix extraction of __LCC__ version components Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8199
| * LCC: Fix extraction of __LCC__ version componentsBrad King2023-02-132-8/+4
|/ | | | | Previously the logic only worked for major versions of the form `1.xx`. Fix it to work with versions `2.xx` and above.
* Merge topic 'test-https-connections' into release-3.26Brad King2023-02-1115-1/+37
|\ | | | | | | | | | | | | | | | | 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
| * ci: Enable file(DOWNLOAD) TLS_VERIFY test case in CI jobsBrad King2023-02-109-0/+9
| |
| * Tests: Add test for file(DOWNLOAD) with TLS_VERIFYscivision2023-02-106-1/+28
|/ | | | | | | | | | | 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
* Merge topic 'curl-macos-tls' into release-3.26Brad King2023-02-101-40/+88
|\ | | | | | | | | | | | | 0d312728eb curl: Backport upstream fix for SecureTransport on macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8193
| * curl: Backport upstream fix for SecureTransport on macOSBrad King2023-02-091-40/+88
|/ | | | | | | Backport upstream curl commit `16bb32e104d` (sectransp: fix for incomplete read/writes, 2023-01-05) to fix TLS support on macOS. Fixes: #24398
* CMake 3.26.0-rc2v3.26.0-rc2Brad King2023-02-091-1/+1
|
* Merge topic 'doc-configure-log' into release-3.26Brad King2023-02-091-6/+12
|\ | | | | | | | | | | | | 2311b0a7f7 Help: Clarify that the documented configure log location is not stable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8191
| * Help: Clarify that the documented configure log location is not stableBrad King2023-02-091-6/+12
|/ | | | Issue: #23200
* Merge topic 'clarify-clang-tidy-export-fixes-doc' into release-3.26Brad King2023-02-091-6/+6
|\ | | | | | | | | | | | | f9d9258d5c Help: Avoid making guarantees about <LANG>_CLANG_TIDY_EXPORT_FIXES_DIR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8189
| * Help: Avoid making guarantees about <LANG>_CLANG_TIDY_EXPORT_FIXES_DIRKyle Edwards2023-02-091-6/+6
|/ | | | | | 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.
* Merge topic 'curl-windows-restore-tls1.3' into release-3.26Brad King2023-02-091-7/+0
|\ | | | | | | | | | | | | | | 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
| * curl: Enable schannel TLS 1.3 support on Windows 11Brad King2023-02-081-7/+0
| | | | | | | | | | | | | | | | | | | | 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
* | Merge topic 'doc-find_package-root-case' into release-3.26Brad King2023-02-093-9/+10
|\ \ | | | | | | | | | | | | | | | | | | 20e727a408 Help: Clarify that <PackageName>_ROOT variable names are case-preserved Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8182
| * | Help: Clarify that <PackageName>_ROOT variable names are case-preservedBrad King2023-02-083-9/+10
| |/ | | | | | | | | The name comes from the case-preserved first argument to `find_package`.
* | Merge topic 'stop_parsing_after_first_script_arg' into release-3.26Brad King2023-02-093-5/+18
|\ \ | | | | | | | | | | | | | | | | | | f9e8a067c2 cmake: Stop parsing after `--` when detecting script mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8186
| * | cmake: Stop parsing after `--` when detecting script modeRobert Maynard2023-02-083-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge topic 'target-runtime-dlls-doc' into release-3.26Kyle Edwards2023-02-091-3/+3
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | e0335f5830 Help: Update $<TARGET_RUNTIME_DLLS> docs to use cmake -E copy -t Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8185
| * | Help: Update $<TARGET_RUNTIME_DLLS> docs to use cmake -E copy -tKyle Edwards2023-02-081-3/+3
|/ / | | | | | | | | | | The -t argument was added to support using $<TARGET_RUNTIME_DLLS> in the case that no DLLs are needed. Update the documentation accordingly.
* | Merge topic 'automoc-message-typo' into release-3.26Brad King2023-02-081-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | d0f49327f9 AutoMoc: Fix verbose mode message Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8171
| * | AutoMoc: Fix verbose mode messageJoerg Bornemann2023-02-071-1/+1
| | | | | | | | | | | | AutoMoc generates because moc settings changed, not uic.
* | | Merge topic 'findopenssl-static-findpkg-fix' into release-3.26Brad King2023-02-081-2/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | FindOpenSSL: Use static pkgconfig if OPENSSL_USE_STATIC_LIBS=ONKyle Edwards2023-02-071-2/+8
| |/ / | | | | | | | | | Fixes: #24395
* | | Merge topic 'doc-FetchContent-catch2' into release-3.26Brad King2023-02-082-4/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 6d48f48d5d FetchContent: Bump documented example Catch2 to v3.0.1 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8172
| * | | FetchContent: Bump documented example Catch2 to v3.0.1Eisuke Kawashima2023-02-072-4/+4
| |/ / | | | | | | | | | | | | | | | The previous Catch2 v2.13.4 does not compile on some platforms [1]. [1] https://github.com/catchorg/Catch2/issues/2326
* | | Merge topic 'doc-cpack-generator-fields' into release-3.26Brad King2023-02-086-423/+491
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Help: CPack FreeBSD Generator page use field listsAlex Turbov2023-02-071-28/+28
| | | |
| * | | Help: CPack DragNDrop Generator page use field listsAlex Turbov2023-02-071-11/+21
| | | |
| * | | Help: CPack Archive Generator page use field listsAlex Turbov2023-02-071-23/+33
| | | |
| * | | Help: CPack RPM Generator page use field listsAlex Turbov2023-02-071-201/+244
| | | |
| * | | Help: CPack NuGet Generator page use field listsAlex Turbov2023-02-071-56/+57
| | | |
| * | | Help: CPack DEB Generator page use field listsAlex Turbov2023-02-071-104/+108
| |/ /
* | | Merge topic 'ci-docker' into release-3.26Brad King2023-02-0824-408/+593
|\ \ \ | |/ / |/| | | | | | | | | | | | | | fc8335a17f ci: Reduce Fedora and Debian image sizes even more Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8173
| * | ci: Reduce Fedora and Debian image sizes even moreAlex Turbov2023-02-0724-408/+593
|/ / | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'release-3.25' into release-3.26Brad King2023-02-070-0/+0
|\ \
| * \ Merge branch 'android-ndk-legacy-toolchain' into release-3.25Brad King2023-02-062-1/+3
| |\ \ | | | | | | | | | | | | Merge-request: !8170
* | \ \ Merge topic 'android-ndk-legacy-toolchain' into release-3.26Brad King2023-02-072-1/+3
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | cb0b9452e8 Android: Provide CMAKE_ANDROID_NDK_VERSION with NDK legacy toolchain file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8170
| * | | Android: Provide CMAKE_ANDROID_NDK_VERSION with NDK legacy toolchain fileBrad King2023-02-062-1/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge topic 'cxxmodules-proper-mangling' into release-3.26Brad King2023-02-076-0/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | Tests/RunCMake/CXXModules: declare `forwarding` as `extern "C++"`Ben Boeckel2023-02-036-0/+12
| | |/ | |/| | | | | | | It is not part of any module, so it needs to be declared as such.
* | | Merge topic 'FindCUDAToolkit-nvrtc-builtins' into release-3.26Brad King2023-02-071-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 9688a8ebc2 FindCUDAToolkit: Fix `nvrtc_builtins_static` library name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8162
| * | | FindCUDAToolkit: Fix `nvrtc_builtins_static` library namePaul Taylor2023-02-061-1/+1
| |/ / | | | | | | | | | | | | | | | Update the change from commit 2a94c762ed (FindCUDAToolkit: Add support for CUDA::nvrtc_static, 2023-01-20, v3.26.0-rc1~55^2). The lib is named `libnvrtc-builtins_static.a`, not `libnvrtc_builtins_static.a`.
* | | Merge topic 'docexe' into release-3.26Brad King2023-02-071-34/+40
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 1e95f765d5 Help: Clarify interaction of execute_process *_FILE and *_VARIABLE options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8165