summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* PGI/NVHPC: Remove -Mipa compiler option for 23.3+مهدي شينون (Mehdi Chinoune)2023-10-131-1/+1
| | | | | | | | `-Mipa` was removed since 23.3. The compiler warns about it: nvfortran-Warning-The option -Mipa has been deprecated and is ignored. See: https://docs.nvidia.com/hpc-sdk/archive/23.9/hpc-sdk-release-notes/index.html#deprecations
* FindRuby: Add support for 3.2Heiko Becker2023-10-101-6/+6
|
* Merge topic 'findcuda_toolkit_restore_lib_search_dir' into release-3.28Brad King2023-10-061-1/+0
|\ | | | | | | | | | | | | 0b6ae9c467 FindCUDAToolkit: Restore CUDAToolkit_LIBRARY_SEARCH_DIRS variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8859
| * FindCUDAToolkit: Restore CUDAToolkit_LIBRARY_SEARCH_DIRS variableRobert Maynard2023-10-041-1/+0
| | | | | | | | | | This was accidentally dropped by commit 4316d4dcfd (FindCUDAToolkit: Search all of `nvcc` implicit includes and library dirs, 2023-09-26).
* | Merge topic 'FindPkgConfig-error' into release-3.28Brad King2023-10-041-3/+3
|\ \ | | | | | | | | | | | | | | | | | | 4c96b31e4b FindPkgConfig: Report not-found package names in fatal error message Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8856
| * | FindPkgConfig: Report not-found package names in fatal error messageAnthony Baker2023-10-031-3/+3
| |/
* | Merge topic 'LLVMFlang-MSVC' into release-3.28Brad King2023-10-048-48/+196
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | 26bf32cdc6 LLVMFlang: Add support for targeting MSVC ABI on Windows e9af7b9687 LLVMFlang: Add support for CMAKE_Fortran_COMPILER_TARGET 26fa048ffe Tests: Enable CMP0091/CMP0141 for MSVC settings in FortranOnly test 9d060b8682 Fortran: Save CMAKE_LINKER variable persistently for MSVC ABI 7571e653f4 CMakeDetermineCompilerABI: Add option to skip implicit link info parsing 12733d0d8d CMakeParseImplicitLinkInfo: Detect link lines using link.exe and lld-link Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8852
| * LLVMFlang: Add support for targeting MSVC ABI on WindowsBrad King2023-10-035-9/+142
| | | | | | | | | | | | | | | | | | | | The compiler does not yet support everything needed to integrate well with the MSVC ABI, in particular for runtime library selection and debug format selection. Document them in FIXME comments and leave this support undocumented by CMake for now. Fixes: #24840 Inspired-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
| * LLVMFlang: Add support for CMAKE_Fortran_COMPILER_TARGETBrad King2023-10-021-0/+2
| |
| * Fortran: Save CMAKE_LINKER variable persistently for MSVC ABIBrad King2023-10-021-1/+2
| | | | | | | | We already do this for other languages including C and CXX.
| * CMakeDetermineCompilerABI: Add option to skip implicit link info parsingBrad King2023-10-021-32/+40
| | | | | | | | Provide a way to do the parsing earlier and not overwrite it here.
| * CMakeParseImplicitLinkInfo: Detect link lines using link.exe and lld-linkBrad King2023-10-021-6/+10
| | | | | | | | | | | | These are printed by LLVM-based compiler drivers targeting the MSVC ABI. In our use case for this, `CMAKE_LINKER` may not yet be known, so do not include it in the test data.
* | Merge topic 'FindPostgreSQL-16'Brad King2023-10-031-2/+2
|\ \ | | | | | | | | | | | | | | | | | | 25644a78de FindPostgreSQL: Add support for version 16 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8854
| * | FindPostgreSQL: Add support for version 16Brad King2023-10-021-2/+2
| | | | | | | | | | | | Fixes: #25292
* | | Merge topic 'cxxmodules-no-longer-experimental'Brad King2023-10-023-13/+13
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 437280b127 cxxmodules: scan C++ sources for imports by default 3cddd11649 Ninja: message about not compiled sources explicitly 068fde1c34 cmGeneratorTarget: use `this->` for method calls 197a6bf171 cxxmodules: rework control logic for scanning regular C++ sources 5eb7bd641a Tests/RunCMake/CXXModules: remove rules file requirement ff18acc301 CXXModules: remove `EXPERIMENTAL` from C++ module variable names 0c07f39006 cmExperimental: remove the flag for C++ modules 68caec9137 Help: add a manpage for cxxmodule support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Merge-request: !8828
| * | | CXXModules: remove `EXPERIMENTAL` from C++ module variable namesBen Boeckel2023-10-023-13/+13
| | | |
* | | | FindQt4: Fix typo in documentation formattingBrad King2023-10-021-1/+1
| | | |
* | | | Merge topic 'ExternalProject-declare-download-byproducts'Craig Scott2023-10-011-5/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 872daff159 ExternalProject: declare byproducts for the download step Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8823
| * | | | ExternalProject: declare byproducts for the download stepBen Boeckel2023-09-301-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | This can surface a conflict where two projects download the same file and get scheduled against each other.
* | | | | Merge topic 'FindCUDAToolkit-implicit-dirs'Brad King2023-09-291-19/+95
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | 4316d4dcfd FindCUDAToolkit: Search all of `nvcc` implicit includes and library dirs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8835
| * | | | FindCUDAToolkit: Search all of `nvcc` implicit includes and library dirsRobert Maynard2023-09-271-19/+95
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Improves the handling of CUDA layouts where we have multiple include and library directories listed in the output of `nvcc -v`. This updates both when the CUDA language is enabled or not. Fixes: #24915
* | | | 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