summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | | | | FindCUDAToolkit: Update nvrtc section to clarify a static version existsRobert Maynard2023-04-271-1/+0
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Fixes #24798
* | | | | | Merge topic 'iar-silent-flag'Brad King2023-04-281-3/+7
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01e944128d IAR: Move linker silencing flag to CMAKE_EXE_LINKER_FLAGS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8421
| * | | | | IAR: Move linker silencing flag to CMAKE_EXE_LINKER_FLAGSFelipe Torrezan2023-04-261-3/+7
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The IAR linker silencer flag was previously hardcoded in `CMAKE_${lang}_LINKER_EXECUTABLE`. Move the flag to a place that is under the end user's control. The default behavior (silenced linker) is not changed. Fixes: #24828
* | | | | Merge topic 'ninja-nvhpc-fortran-Werror'Brad King2023-04-271-1/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f6a1dd3ed Ninja: Revert "Exclude NVHPC -Werror flags during Fortran preprocessing" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8435
| * | | | | Ninja: Revert "Exclude NVHPC -Werror flags during Fortran preprocessing"Brad King2023-04-261-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit 6b58cdd4cf (Ninja: Exclude NVHPC -Werror flags during Fortran preprocessing, 2023-04-04). Since commit 9d40f01442 (NVHPC: Use -Werror for COMPILE_OPTIONS_WARNING_AS_ERROR, 2023-04-13), `nvfortran` can handle the plain `-Werror` flag during preprocessing. Issue: #24665
* | | | | | Merge topic 'ExternalProject-relative-git-urls'Craig Scott2023-04-273-0/+229
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 550f63447d ExternalProject/FetchContent: Support relative remote URLs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7988
| * | | | | | ExternalProject/FetchContent: Support relative remote URLsChris Wright2023-04-263-0/+229
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach `ExternalProject_Add` and `FetchContent_Declare` to resolve relative remote URLs provided via `GIT_REPOSITORY`. Add policy CMP0150 to maintain compatibility. Fixes: #24211 Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* | | | | | VS/Android: Deduce processor type from CMAKE_GENERATOR_PLATFORMMichael Karcher2023-04-261-1/+14
| |/ / / / |/| | | | | | | | | | | | | | Closes: #24839
* | | | | Merge topic 'vs2022-android'Brad King2023-04-264-17/+16
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 16d8b65bc0 VS/Android: Use safe API level when detecting the NDK directory f7af10100c VS/Android: Detect full NDK root instead of sysroot 850ee280e0 VS/Android: Set API level explicitly during compiler identification 5d5b6c741d VS/Android: Do not specify Windows Runtime library type during compiler id e78abf94e3 VS/Android: Use ApplicationTypeRevision 3.0 in VS2022 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8426
| * | | | | VS/Android: Use safe API level when detecting the NDK directoryMichael Karcher2023-04-251-0/+1
| | | | | |
| * | | | | VS/Android: Detect full NDK root instead of sysrootMichael Karcher2023-04-252-14/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Visual Studio always uses a complete NDK and not a standalone toolchain. Let CMake handle the NDK and related logic correctly, avoid trying to find the standalone toolchain version from the unified clang toolchain in newer NDKs.
| * | | | | VS/Android: Set API level explicitly during compiler identificationMichael Karcher2023-04-252-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VS2022 defaults to API 31 in 64-bit builds. This breaks if you combine VS2022 with an older Android NDK.
| * | | | | VS/Android: Do not specify Windows Runtime library type during compiler idMichael Karcher2023-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The VS2022 Clang toolchain adds some windows libraries to the linked library list if RuntimeLibrary is set, even if the Project is targeting Android. This causes an unexpected linker failure.
| * | | | | VS/Android: Use ApplicationTypeRevision 3.0 in VS2022Michael Karcher2023-04-252-2/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Visual Studio 17 (Marketing name: Visual Studio 2022) still ships with "3.0" as most recent Variant of the Android application type. Use this revision.
* | | | | Merge topic 'fortran_ninja_compile_as_warning'Brad King2023-04-262-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9d40f01442 NVHPC: Use -Werror for COMPILE_OPTIONS_WARNING_AS_ERROR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8415
| * | | | | NVHPC: Use -Werror for COMPILE_OPTIONS_WARNING_AS_ERRORRobert Maynard2023-04-252-2/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previously-used `-Werror all-warnings` is not supported by the NVHPC suite of compilers. This previously worked since `-Werror` was being used and `all-warnings` was being excluded. We thought this was the correct syntax due to incorrect documentation about `-Werror`, which stated the argument should be space-separated, while it should actually be separated with `=` or `,`. Issue: #24665
* | | | | Merge topic 'FindCUDAToolkit-static-deps'Brad 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
| * | | | FindCUDAToolkit: Add missing static library dependencies on pthread and libdlRobert Maynard2023-04-261-1/+5
| | | | | | | | | | | | | | | | | | | | Discourse-topic: https://discourse.cmake.org/t/7946
* | | | | Merge topic 'FindCUDAToolkit_nvrtc_windows_dependencies'Brad King2023-04-261-1/+6
|\ \ \ \ \ | |_|/ / / |/| | | / | | |_|/ | |/| | | | | | | | | | 11a9f88bdf FindCUDAToolkit: Fix nvrtc_static dependencies on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8405
| * | | FindCUDAToolkit: Fix nvrtc_static dependencies on WindowsRobert Maynard2023-04-251-1/+6
| |/ / | | | | | | | | | | | | | | | Required for CUDA toolkit 11.5: * https://docs.nvidia.com/cuda/archive/11.5.0/nvrtc/index.html#build-instruction
| * | Merge topic 'FindCUDAToolkit-nvptxcompiler_static-deps' into release-3.26Brad King2023-04-061-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 8711231739 FindCUDAToolkit: nvptxcompiler_static correctly specify dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8395