llvm-project
65850de7 - [HIP] Hack around CMake incorrectly parsing OpenMP support in HIP mode (#164482)

Commit
92 days ago
[HIP] Hack around CMake incorrectly parsing OpenMP support in HIP mode (#164482) Summary: The new driver uses an embedded clang job to handle the device compilation. This correctly returns the linker as being `ld.lld`. The CMake parser to detect things like OpenMP support in the linker will parse the output of `-v` for the linker job. If the user is also using LLD for their linker, it will think this job is the linker and then fail as it does not see the required libraries. For these special HIP compilations, just print the linker wrapper invocation and nothing else. This will still show users the steps used to generate the binary but it will hack around this issue.
Author
Parents
Loading