summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ep-update-disconnected'Brad King2023-05-235-44/+158
|\ | | | | | | | | | | | | | | | | 8cc45e150a ExternalProject: Make hg download method respect UPDATE_DISCONNECTED 1512dc43cb ExternalProject: Avoid reconfigure when updates are disconnected 1d29cf37a1 Tests: Reduce warning noise in ExternalProjectUpdate test Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8498
| * ExternalProject: Make hg download method respect UPDATE_DISCONNECTEDCraig Scott2023-05-231-0/+2
| |
| * ExternalProject: Avoid reconfigure when updates are disconnectedCraig Scott2023-05-235-44/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When UPDATE_DISCONNECTED is true, create separate update_disconnected and patch_disconnected targets which have ALWAYS set to false. Make the configure step depend on patch_disconnected in this case too. This ensures the configure, build, install and test steps are not executed unnecessarily when updates are disconnected. Make the update and patch commands depend on the details of those steps. This ensures they are re-executed when any of those details change, even if updates are disconnected. Allow updates to occur even if UPDATE_DISCONNECTED is true, but don't contact the remote in that case. If asked to update to a ref that isn't known locally, that is now detected and causes a fatal error when updates are disconnected. Previously, the build would have silently and erroneously continued to use the old ref. Fixes: #16419, #19703, #21146
* | Merge topic 'iar-fix-support-avr-8101'Brad King2023-05-231-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 57f22c6a3d IAR:Fix version detection for xlinkavr Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8501
| * | IAR:Fix version detection for xlinkavrFelipe Torrezan2023-05-221-1/+1
| |/ | | | | | | | | - The comparison for minimum version for detecting the newer xlinkavr was encompassing V7.30.5, which uses the old `xlink` without target suffix.
* | Merge topic 'FindOpenSSL-deps'Brad King2023-05-231-3/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | f7e1e0545f FindOpenSSL: Enable static library dependencies on more platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jürg Billeter <j@bitron.ch> Merge-request: !8497
| * | FindOpenSSL: Enable static library dependencies on more platformsBrad King2023-05-191-3/+3
| |/ | | | | | | | | | | | | | | Activate the logic from commit 8098bd5768 (FindOpenSSL: add pthread and dl dependencies to static lib on Linux, 2019-09-13, v3.16.0-rc1~72^2) on more UNIX platforms. Fixes: #24870
* | codespell: Fix typosBrad King2023-05-229-9/+9
| |
* | Merge topic 'FindOpenSSL-trust-root-dir'Brad King2023-05-221-10/+8
|\ \ | |/ |/| | | | | | | | | 5cc8a69867 FindOpenSSL: Trust the user's OPENSSL_ROOT_DIR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8486
| * FindOpenSSL: Trust the user's OPENSSL_ROOT_DIRRichard Levitte2023-05-191-10/+8
| | | | | | | | | | | | | | | | When the user has specified the OpenSSL installation root directory, through the variable OPENSSL_ROOT_DIR or the environment variable with the same name, trust it, don't try to find OpenSSL anywhere else. Fixes: #18352
* | Merge topic 'clang_cxx26'Brad King2023-05-181-0/+2
|\ \ | | | | | | | | | | | | | | | | | | 0183956d30 Clang: C++26 support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8480
| * | Clang: C++26 supportRaul Tambre2023-05-161-0/+2
| | | | | | | | | | | | | | | Added in LLVM commit b763d6a4ed4650c74c6846d743156468563b0e31. This time the final flag form is supported from the get-go to reduce churn.
* | | Merge topic 'iar-add-support-avr-8101'Brad King2023-05-183-7/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7cd982faf4 IAR: Added support for IAR C/C++ Compiler for Microchip AVR 8.10+ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8481
| * | | IAR: Added support for IAR C/C++ Compiler for Microchip AVR 8.10+Felipe Torrezan2023-05-163-7/+12
| | |/ | |/| | | | | | | | | | | | | - Added C17 support - Added C++17 support - Changed: IAR UBROF Linker (XLINK) suffixed with target architecture (xlinkavr)
* | | Merge topic 'FindPython-fix-launcher-typo'Brad King2023-05-181-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 31faf3945f FindPython: fix interpreter launcher variable spelling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8487
| * | FindPython: fix interpreter launcher variable spellingBen Boeckel2023-05-171-1/+1
| | | | | | | | | | | | Reported-by: Johannes (#cmake Slack)
* | | Merge topic 'iar-align-output-extension'Brad King2023-05-163-2/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | cfec4c1c5e IAR: Enforce output extension for xlink targets 7fec8f993b IAR: Replace extension for compiler and assembler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8477
| * | | IAR: Enforce output extension for xlink targetsJoakim Lönnberg2023-05-122-2/+7
| | | |
| * | | IAR: Replace extension for compiler and assemblerJoakim Lönnberg2023-05-081-0/+1
| | | |
* | | | Merge topic 'msvc-wine-showIncludes'Brad King2023-05-161-1/+1
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | fb3c4715cd Ninja: Restore detection of msvc-wine showIncludes prefix Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: huangqinjin <huangqinjin@gmail.com> Merge-request: !8479
| * | | Ninja: Restore detection of msvc-wine showIncludes prefixBrad King2023-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 8f82e755f3 (Ninja: Fix detection of MSVC showIncludes prefix in Italian, 2023-01-26, v3.26.0-rc1~20^2) our regex no longer matches the output from `msvc-wine`, which uses forward slashes: Note: including file: /path/to/foo.h `cl /showIncludes` under Wine prints paths of the form `Z:\path\to\file`, but the `msvc-wine` wrapper converts them to the form `/path/to/file` so that native Ninja can be used. Update our regex to match the prefix followed by a path with a leading forward slash. Fixes: #24908
* | | | Merge topic 'ExternalProject-touch-echo'Brad King2023-05-111-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3bf0830e44 ExternalProject: Avoid adding empty touch command on "ALWAYS" steps Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Craig Scott <craig.scott@crascit.com> Merge-request: !8468
| * | | | ExternalProject: Avoid adding empty touch command on "ALWAYS" stepsAntonio Caggiano2023-05-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem fixed by commit c0b749cf62 (ExternalProject: Always add a command to a step, 2014-11-05, v3.2.0-rc1~402^2~3) may occur for an empty `COMMAND ${touch}` too, so avoid specifying any `COMMAND` at all if there is no touch command.
* | | | | Merge topic 'dankm/tcsuffix'Brad King2023-05-104-2/+7
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6a82852dc2 Allow toolchain suffix without leading dash Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8462
| * | | | Allow toolchain suffix without leading dashDan McGregor2023-05-094-2/+7
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | FreeBSD installs both LLVM and gcc with tools named after the major version, in the form "clang<major>", such as "clang16". Detect compilers named this way, and find the related toolchain tools.
* | | | Clang: use -std=c++23 for Clang 17.0+Raul Tambre2023-05-081-1/+4
|/ / / | | | | | | | | | Canonical flag changed in LLVM commit ba15d186e5cef2620d562c6c9d9a6d570382cd0a.
* | | Merge topic 'FindCUDAToolkit_more_library_root_detection'Brad King2023-05-051-22/+56
|\ \ \ | |/ / | | | | | | | | | | | | | | | 587c0443cc FindCUDAToolkit: Support CUDA version extraction from version.json Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8451
| * | FindCUDAToolkit: Support CUDA version extraction from version.jsonRobert Maynard2023-05-041-22/+56
| | | | | | | | | | | | Fixes: #24858
| * | Merge topic 'findjni_new_ubuntu_versions' into release-3.26Brad King2023-05-021-0/+7
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 7f738313e0 FindJNI: add Ubuntu specific paths for more recent JDK versions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8449
| * \ \ Merge topic 'FindCUDAToolkit-static-deps' into release-3.26Brad King2023-04-261-1/+5
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1d6c343661 FindCUDAToolkit: Add missing static library dependencies on pthread and libdl Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8422
* | \ \ \ Merge topic 'use-linker-depfile'Brad King2023-05-0410-0/+55
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 375e6fdbbe Link step: use linker dependency linker file 24a3e5cda0 cmLocalGenerator::MayBeRelativeToWorkDir: take care of all cases Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8443
| * | | | | Link step: use linker dependency linker fileMarc Chevrier2023-05-0310-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on work done by @ben.boeckel (!8051) Fixes: #22217
* | | | | | FindPython: Cross-reference Python_FIND_{STRATEGY,UNVERSIONED_NAMES}Brad King2023-05-033-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mention each variable in the documentation of the other. Issue: #24878
* | | | | | Find{BLAS,LAPACK}: Add AOCL BLIS/libFLAMECordell Bloor2023-05-022-0/+60
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AMD Optimizing CPU Libraries (AOCL) provide forks of BLIS and libFLAME that are optimized for AMD "Zen" core architectures. Closes: #23605
* | | | | Merge topic 'FortranCInterface-verify-reuse'Brad King2023-05-021-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 967feaa435 FortranCInterface: Reuse primary detection results in VERIFY function Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8448
| * | | | | FortranCInterface: Reuse primary detection results in VERIFY functionBrad King2023-05-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 14f7a043e3 (Teach FortranCInterface to load outside results, 2009-08-24, v2.8.0~262) we support passing the detection results into `try_compile` by forwarding `FortranCInterface_BINARY_DIR`. Use this in `FortranCInterface_VERIFY` to avoid repeating detection.
* | | | | | Merge topic 'FindX11-even-more-xcb-components'Brad King2023-05-021-107/+465
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65ade59835 FindX11: Remove HAS_X11_xcb check from xcb tests b1b7298b17 FindX11: Fix typo bug, xvmc -> xv 922a97f38a FindX11: Add tests for newly added xcb libraries 7a2b02e000 FindX11: Fix existing tests 9d21d115c6 FindX11: Add more components to FindX11 tests 858fd8ece8 FindX11: Add many new xcb modules 45c3831369 FindX11: Arrange xcb modules in proper alphabetical order a0d8556bf7 FindX11: Change find_path search string for Xaw Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8366
| * | | | | | FindX11: Fix typo bug, xvmc -> xvMoses Miller2023-04-251-1/+1
| | | | | | |
| * | | | | | FindX11: Add many new xcb modulesMoses Miller2023-04-251-95/+453
| | | | | | |
| * | | | | | FindX11: Arrange xcb modules in proper alphabetical orderMoses Miller2023-04-251-31/+31
| | | | | | |
| * | | | | | FindX11: Change find_path search string for XawMoses Miller2023-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As far as I can tell, X11/Xaw/Intrinsic.h has never existed, resulting in FindX11 always failing to find Xaw.
* | | | | | | Merge topic 'findjni_new_ubuntu_versions'Brad King2023-05-021-0/+7
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | / / | | |_|_|/ / | |/| | | | | | | | | | | | | | | | 7f738313e0 FindJNI: add Ubuntu specific paths for more recent JDK versions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8449
| * | | | | FindJNI: add Ubuntu specific paths for more recent JDK versionsEven Rouault2023-05-011-0/+7
| | | | | |
* | | | | | Merge topic 'cpack-inno-setup'Brad King2023-05-013-7/+139
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1d6db66179 CPack: Add Inno Setup generator 9b0dc652ff ci: Provide Inno Setup tools to some Windows CI jobs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8399
| * | | | | | CPack: Add Inno Setup generatorJannik Alber2023-04-283-7/+139
| | | | | | |
* | | | | | | Merge topic 'FindDoxygen-custom-config-file'Brad King2023-04-281-4/+16
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5ee19d5746 FindDoxygen: Optionally use custom config file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8439
| * | | | | | | FindDoxygen: Optionally use custom config fileLe Go2023-04-271-4/+16
| |/ / / / / /
* | | | | | | Merge topic 'modules-if-deref'Brad King2023-04-281-3/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 21e13f2416 CMakeDetermineCXXCompiler: Avoid if() quoted auto-dereference Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8438
| * | | | | | | CMakeDetermineCXXCompiler: Avoid if() quoted auto-dereferenceBrad King2023-04-271-3/+3
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was missed by commit 29c3edb87a (Avoid if() quoted auto-dereference, 2014-10-14, v3.2.0-rc1~501^2). Fixes: #24859
* | | | | | | Merge topic 'update_FindCUDAToolkit_nvrtc_notes'Brad King2023-04-281-1/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0e0eb12918 FindCUDAToolkit: Update nvrtc section to clarify a static version exists Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8436