summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeHIPCompiler.cmake.in
Commit message (Collapse)AuthorAgeFilesLines
* HIP: Fix search for hip-lang CMake package on multiarch distrosBrad King2023-05-311-0/+1
| | | | | | | | | | We need `CMAKE_LIBRARY_ARCHITECTURE` to find the package before HIP compiler ABI detection. However, if HIP is the first enabled language, the value is not known until `CMAKE_HIP_LIBRARY_ARCHITECTURE` is determined by the ABI detection step. Resolve this by detecting `CMAKE_HIP_LIBRARY_ARCHITECTURE` from the compiler id output. Fixes: #24562
* Link Step: ensure the correct linker is used for depfile configurationMarc Chevrier2023-05-281-1/+1
| | | | This is related to MR !8443.
* Link step: use linker dependency linker fileMarc Chevrier2023-05-031-0/+1
| | | | | | Based on work done by @ben.boeckel (!8051) Fixes: #22217
* Apple: Handle generation and comsuption of text-based stubs (.tbd files)Marc Chevrier2023-03-011-0/+1
| | | | Fixes: #24123
* CompilerID: Compiler extensions default detectionRaul Tambre2021-09-281-0/+1
|
* HIP: Simplify detection of HIP runtime CMake packageBrad King2021-09-161-0/+1
| | | | | | | It only makes sense to use the CMake package from the same ROCm installation that the compiler uses. Ask the HIP compiler to report the location of the ROCm installation. Verify up front that it contains the expected CMake package file.
* HIP: Automatically inject the `hip::device` runtime targetRobert Maynard2021-06-071-3/+2
| | | | | Any target that might need to link to hip code needs the `hip::device` target
* HIP: Add language to CMakeRobert Maynard2021-06-071-0/+59