summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'hip-nvidia'Brad King2023-09-2233-48/+349
|\ | | | | | | | | | | | | | | | | | | | | | | | | 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
| * ci: Add HIP job using CUDA on NVIDIA GPUsBrad King2023-09-214-0/+24
| |
| * HIP: Add support for NVIDIA GPUsBrad King2023-09-2119-27/+221
| | | | | | | | | | | | 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-2110-15/+70
| | | | | | | | | | For now, require the value to be `amd`, since that is the only platform we currently support.
| * Tests/HIP/WithDefs: Clean up test caseBrad King2023-09-211-5/+3
| | | | | | | | | | | | | | Fix code copied from equivalent CUDA test. Drop `CMAKE_HIP_ARCHITECTURES=OFF`. That is already covered by a dedicated `HIP.ArchitectureOff` test.
| * Tests/HIP/ArchitectureOff: Cover HIP_ARCHITECTURES initializationBrad King2023-09-211-1/+5
| | | | | | | | Verify that the property is initialized by `CMAKE_HIP_ARCHITECTURES`.
| * ci: Add CUDA 11.8 to HIP 5.5 imageBrad King2023-09-213-3/+29
| |
| * ci: Put HIP GPU platform in CMake_TEST_HIPBrad King2023-09-213-3/+3
| | | | | | | | | | | | The `CMake_TEST_HIP` option is added explicitly to builds where we want the tests to run, so we can set it to a value indicating the HIP GPU platform.
* | Merge topic 'cuda-factor-out-lang'Brad King2023-09-2218-662/+771
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 generate CUDA architecture flagsBrad King2023-09-212-21/+38
| | | | | | | | Prepare to use it for other languages.
| * CUDA: Factor out helper to validate CMAKE_CUDA_ARCHITECTURESBrad King2023-09-214-19/+28
| | | | | | | | 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
| |
| * cmGeneratorTarget: Clarify local variable names for device architecturesBrad King2023-09-191-21/+20
| |
* | Merge topic 'macOS-system-framework-link'Brad King2023-09-227-32/+27
|\ \ | | | | | | | | | | | | | | | | | | 3bdf95f942 macOS: GNU toolchain: ensure framework, marked as SYSTEM, can be linked Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8825
| * | macOS: GNU toolchain: ensure framework, marked as SYSTEM, can be linkedMarc Chevrier2023-09-217-32/+27
| | | | | | | | | | | | Fixes: #25263
* | | 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.
* | | CMake Nightly Date StampKitware Robot2023-09-221-1/+1
| | |
* | | Merge topic 'fileset-private-dep'Brad King2023-09-2133-15/+320
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ec2ba29ac5 Ninja: Allow compilation before generation of dependencies' private sources Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8420
| * | | Ninja: Allow compilation before generation of dependencies' private sourcesMartin Duffy2023-09-2033-15/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This requires knowing when a generated header is public, which we can model using file sets. Add policy CMP0154 to treat generated sources as private by default in targets with file sets. Generated public headers can be specified in public file sets. Fixes: #24959 Issue: #15555
* | | | Merge topic 'findjava'Brad King2023-09-212-87/+85
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d95988c8c3 FindJNI: use modern foreach() syntax 7e4fe71633 FindJNI: use 2-space indents 88411fd629 FindJNI: use cmake_host_system_info to query registry b56d4e041a FindJava: use cmake_host_system_info to query registry bab9a23724 FindJava: use modern foreach() syntax Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8818
| * | | | 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 'doc-find-arch-paths'Brad King2023-09-212-11/+20
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 51c2927816 Help: Clarify requirements for find_package to use lib{64,32,x32} paths e625255fe4 Help: Indent find_package REGISTRY_VIEW paragraphs together Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Roscoe A. Bartlett <rabartl@sandia.gov> Merge-request: !8819
| * | | | | Help: Clarify requirements for find_package to use lib{64,32,x32} pathsBrad King2023-09-202-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | Issue: #25157
| * | | | | Help: Indent find_package REGISTRY_VIEW paragraphs togetherBrad King2023-09-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 8d7e80cf3d (find_* commands: add control over Windows registry views, 2022-04-16, v3.24.0-rc1~201^2) this indentation was used for the other find commands but was left out for `find_package`.
* | | | | | Merge topic 'ci-cmake-update'Brad King2023-09-212-7/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 08d77470ef ci: Update CMake version to 3.27.6 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8821
| * | | | | | ci: Update CMake version to 3.27.6Kyle Edwards2023-09-202-7/+7
| | | | | | |
* | | | | | | Merge topic 'ci-clang17-windows'Brad King2023-09-212-13/+13
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4c92fc709a ci: Update LLVM/Clang to 17.0 in nightly CI jobs on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8820
| * | | | | | ci: Update LLVM/Clang to 17.0 in nightly CI jobs on WindowsBrad King2023-09-192-13/+13
| | |_|_|_|/ | |/| | | |
* | | | | | CMake Nightly Date StampKitware Robot2023-09-211-1/+1
| |_|_|/ / |/| | | |
* | | | | Merge branch 'release-3.27'Brad King2023-09-201-2/+2
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | CMake 3.27.6v3.27.6Brad King2023-09-202-3/+3
| | | | |
* | | | | Merge branch 'release-3.27'Brad King2023-09-200-0/+0
|\ \ \ \ \ | |/ / / /
| * | | | Merge topic 'fortran-in-custom-targets' into release-3.27Brad King2023-09-2022-8/+176
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d870a47e23 Tests/FortranModules: add a test for iface Fortran sources e3d511fb9c Tests/FortranModules: also test INTERFACE targets with Fortran sources 978b68d3bb add_custom_target: Fix regression with Fortran sources 619aca80ae Tests/FortranModules: add a test case for #25223 45513c1a69 Tests/FortranModules: move issue 25112 fix from FortranOnly Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8814
* | \ \ \ \ Merge topic 'fortran-in-custom-targets'Brad King2023-09-2022-8/+176
|\ \ \ \ \ \ | | |/ / / / | |/| | / / | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d870a47e23 Tests/FortranModules: add a test for iface Fortran sources e3d511fb9c Tests/FortranModules: also test INTERFACE targets with Fortran sources 978b68d3bb add_custom_target: Fix regression with Fortran sources 619aca80ae Tests/FortranModules: add a test case for #25223 45513c1a69 Tests/FortranModules: move issue 25112 fix from FortranOnly Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8814