summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'android-clang-c++23'Brad King2023-09-281-1/+8
|\ | | | | | | | | | | | | | | 75e9918a66 Android: Require Clang 18 for -std=c++23 Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !8847
| * Android: Require Clang 18 for -std=c++23Brad King2023-09-271-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the Clang version checks added by * commit eacacc70fc (Clang: use -std=c++23 for Clang 17.0+, 2023-05-08, v3.27.0-rc1~115^2) * commit 0183956d30 (Clang: C++26 support, 2023-05-16, v3.27.0-rc1~85^2) to account for Android NDK r26's distribution of a Clang based on a development version of LLVM/Clang 17.0 that pre-dated addition of these flags. Follow the pattern from commit 12e6796b62 (Android: Do not pass non-existent Clang -std flags, 2018-04-02, v3.12.0-rc1~284^2), which fixed the same problem for `-std=c++17`. Fixes: #25281
| * Merge topic 'FindBoost-1.83' into release-3.27Brad King2023-09-121-3/+17
| |\ | | | | | | | | | | | | | | | | | | 897a149067 FindBoost: Add support for Boost 1.83 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8793
* | \ Merge topic 'hip-nvidia'Brad King2023-09-264-62/+74
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fd982eec10 HIP: Add tests for special NVIDIA values of CMAKE_HIP_ARCHITECTURES 8c8b3f1bfa HIP: Fix support for -DCMAKE_HIP_ARCHITECTURES=native with NVCC b3e92775ab HIP: Add CMAKE_HIP_HOST_COMPILER when compiler is NVCC e43918b4ca HIP: Fix linking mixed-lang binary with CXX compiler and Makefile generators 4794505122 HIP: Do not require hip-lang package for NVIDIA platform 09d759dc7f HIP: Simplify exclusion of AMD device runtime with NVIDIA GPUs 2a60663670 HIP: Simplify CMAKE_GENERATOR references for determining compiler 8124950f6c CUDA: Generalize CMAKE_{CUDA => <LANG>}_HOST_COMPILER variable docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8836
| * | | HIP: Fix support for -DCMAKE_HIP_ARCHITECTURES=native with NVCCBrad King2023-09-251-4/+4
| | | |
| * | | HIP: Add CMAKE_HIP_HOST_COMPILER when compiler is NVCCBrad King2023-09-252-2/+12
| | | | | | | | | | | | | | | | Also add `HIPHOSTCXX` environment variable.
| * | | HIP: Do not require hip-lang package for NVIDIA platformBrad King2023-09-251-45/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ROCm may not install the `hip-lang` cmake package on NVIDIA platforms. Skip verifying its presence. We do not use it for NVIDIA platforms anyway. Fixes: #25271
| * | | HIP: Simplify exclusion of AMD device runtime with NVIDIA GPUsBrad King2023-09-251-4/+2
| | | |
| * | | HIP: Simplify CMAKE_GENERATOR references for determining compilerBrad King2023-09-251-2/+2
| | | |
| * | | CUDA: Generalize CMAKE_{CUDA => <LANG>}_HOST_COMPILER variable docsBrad King2023-09-251-5/+5
| | | |
* | | | Merge topic 'FindOpenMP-macOS-LLVM-Clang'Brad King2023-09-261-2/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3cff031c9a FindOpenMP: Handle non-Apple clang on macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8832
| * | | | FindOpenMP: Handle non-Apple clang on macOSKeno Fischer2023-09-241-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I was noticing that FindOpenMP was failing to find my openmp installation on macos when building with a custom-compiled clang. Upon inspection it appears that FindOpenMP is looking for `AppleClang` as a compiler identification and the `Clang` case is only applicable for Win32. Try to fix that by treating custom `Clang` on macos the same as `AppleClang`.
* | | | | Merge topic 'orangec-compiler'Brad King2023-09-2610-0/+111
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f8fa4f1ad7 ci: Add OrangeC 6.73.1 nightly CI job 531b4fe643 OrangeC: Add support for OrangeC compiler 10f435a58f Tests: Simplify nested if conditions in Complex tests Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Victor <lostfreeman@gmail.com> Merge-request: !8592
| * | | | | OrangeC: Add support for OrangeC compilerDavid Lindauer2023-09-2510-0/+111
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add compiler information modules. Update the test suite. Fixes: #25032 Co-authored-by: Brad King <brad.king@kitware.com>
* | | | | Merge topic 'add-c++23'Brad King2023-09-261-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 961a077238 IBMClang: Add provisional flags for C++23 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8837
| * | | | | IBMClang: Add provisional flags for C++23Xing Xue2023-09-251-0/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | With this one can use the IBM Open XL C/C++ compiler to build projects that require feature `cxx_std_23`.
* | | | | Merge topic 'FetchContent-EXCLUDE_FROM_ALL'Craig Scott2023-09-261-7/+30
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | 5f77807f1c FetchContent: Add support for EXCLUDE_FROM_ALL Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8822
| * | | | FetchContent: Add support for EXCLUDE_FROM_ALLSteven Stallion2023-09-251-7/+30
| | | | | | | | | | | | | | | | | | | | Fixes: #20167
* | | | | Merge topic 'FindDoxygen-broken-binary'Brad King2023-09-251-13/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a960b901de FindDoxygen: Remove redundant debug message when Doxygen fails 59a4aaa237 FindDoxygen: Disable Doxygen if executable returns non-zero result Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8815
| * | | | | FindDoxygen: Remove redundant debug message when Doxygen failsChristoph GrĂ¼ninger2023-09-221-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | We warn for this now.
| * | | | | FindDoxygen: Disable Doxygen if executable returns non-zero resultChristoph GrĂ¼ninger2023-09-221-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes detection of Doxygen more robust in case of broken Doxygen executables. Doxygen is called to determine its version number. If this call returns a non-zero result, we have an indication that the Doxygen executable is broken. We report Doxygen as not found to prevent issues with checks for other Doxygen component, that might lead to configuration aborts. Fixes: #18708
* | | | | | Merge topic 'CrayClang-compiler'Brad King2023-09-255-0/+91
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80838316a8 CrayClang: Add support for this compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8781
| * | | | | | CrayClang: Add support for this compilerRyan Krattiger2023-09-225-0/+91
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `CrayClang` compiler ID for newer Cray compilers. Fixes: #25102
* | | | | | Merge topic 'cxxmodules-gcc-14'Brad King2023-09-251-0/+21
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4089954595 gitlab-ci: update to GCC CI container with merged P1689R5 c2564f5916 ci: drop extra scandep source settings for GCC ee52a02d56 ci: update GCC build to use master after P1689R5 is merged 4f0410959e GCC: add rules for scanning C++ module dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8827
| * | | | | GCC: add rules for scanning C++ module dependenciesBen Boeckel2023-09-211-0/+21
| | | | | |
* | | | | | Merge topic 'hip-nvidia'Brad King2023-09-228-23/+195
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6546aa2a2a ci: Add HIP job using CUDA on NVIDIA GPUs 18158bf81c HIP: Add support for NVIDIA GPUs 127b6fa06b HIP: Add CMAKE_HIP_PLATFORM variable to specify GPU platform 90e23f40ee Tests/HIP/WithDefs: Clean up test case 9ebdf3281f Tests/HIP/ArchitectureOff: Cover HIP_ARCHITECTURES initialization cfec29196e ci: Add CUDA 11.8 to HIP 5.5 image 26470eb987 ci: Put HIP GPU platform in CMake_TEST_HIP Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8817
| * | | | | | HIP: Add support for NVIDIA GPUsBrad King2023-09-218-19/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for using the CUDA Toolkit's NVCC to compile HIP code. Fixes: #25143
| * | | | | | HIP: Add CMAKE_HIP_PLATFORM variable to specify GPU platformBrad King2023-09-211-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For now, require the value to be `amd`, since that is the only platform we currently support.
* | | | | | | Merge topic 'cuda-factor-out-lang'Brad King2023-09-2214-620/+709
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b32ea7cff0 CUDA: Factor out helper to generate CUDA architecture flags b3a1f17567 CUDA: Factor out helper to validate CMAKE_CUDA_ARCHITECTURES 8617c28221 CUDA: Factor out helper for detecting native CUDA architectures 0db0fe7958 CUDA: Factor out helper to compute all CUDA architectures c16f1e2b93 CUDA: Factor out helper to find CUDA Toolkit for compiler a6841a967b CUDA: Factor out helper to filter implicit link libraries deff0e638d CUDA: Factor out helper to parse NVCC implicit compiler and linker flags e1b2a5062f CUDA: Factor out some NVCC compiler information ... Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !8816
| * | | | | | CUDA: Factor out helper to validate CMAKE_CUDA_ARCHITECTURESBrad King2023-09-212-17/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare to use it for other languages.
| * | | | | | CUDA: Factor out helper for detecting native CUDA architecturesBrad King2023-09-214-68/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare to use it for other languages.
| * | | | | | CUDA: Factor out helper to compute all CUDA architecturesBrad King2023-09-213-83/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare to use it for other languages.
| * | | | | | CUDA: Factor out helper to find CUDA Toolkit for compilerBrad King2023-09-212-171/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare to use it for other languages.
| * | | | | | CUDA: Factor out helper to filter implicit link librariesBrad King2023-09-213-19/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare to use it for other languages.
| * | | | | | CUDA: Factor out helper to parse NVCC implicit compiler and linker flagsBrad King2023-09-214-161/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare to use it for other languages.
| * | | | | | CUDA: Factor out some NVCC compiler informationBrad King2023-09-212-93/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare to use nvcc for other languages.
| * | | | | | CUDA: Clarify order of logic finding CUDA Toolkit for compilerBrad King2023-09-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Finish all the search logic before using any results.
| * | | | | | CUDA: Clarify compiler-specific logic in architectures tableBrad King2023-09-211-19/+32
| | | | | | |
| * | | | | | CUDA: Clarify logic detecting compiler default CUDA architecturesBrad King2023-09-211-16/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve variable names and comments. Remove a comment missed by commit c267ed205a (CUDA: Defer architecture testing to the compiler testing step, 2022-04-25, v3.24.0-rc1~222^2) about architecture verification.
| * | | | | | CUDA: Simplify isolation of work variables for determining compilerBrad King2023-09-211-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unset variables as soon as we are done with them. Rename one work variable to a private name.
| * | | | | | CUDA: Combine consecutive blocks using same condition for determining compilerBrad King2023-09-211-4/+2
| | | | | | |
| * | | | | | CUDA: Simplify CMAKE_GENERATOR references for determining compilerBrad King2023-09-211-7/+7
| | | | | | |
* | | | | | | Merge topic 'macOS-simplify-framework-link-option'Brad King2023-09-222-0/+7
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a61c1d6ff4 macOS: Framework: simplify link flag Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !8824
| * | | | | | macOS: Framework: simplify link flagMarc Chevrier2023-09-212-0/+7
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Use the compiler option rather than the linker one.
* | | | | | FindJNI: use modern foreach() syntaxscivision2023-09-201-6/+6
| | | | | |
* | | | | | FindJNI: use 2-space indentsscivision2023-09-201-65/+65
| | | | | |
* | | | | | FindJNI: use cmake_host_system_info to query registryscivision2023-09-201-7/+6
| | | | | |
* | | | | | FindJava: use cmake_host_system_info to query registryscivision2023-09-201-7/+6
| | | | | |
* | | | | | FindJava: use modern foreach() syntaxscivision2023-09-201-3/+3
|/ / / / /
* | | | | Merge topic 'FindPkgConfig-override'Brad King2023-09-201-2/+23
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | e0d00b9218 FindPkgConfig: Allow to override variables when calling pkg_get_variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8808