[llvm] [OpenMP] Remove dependency on LLVM include directory from DeviceRTL (PR #136359)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 21 09:08:36 PDT 2025


jhuber6 wrote:

> That's not going to completely work, right? If someone builds `openmp/` out-of-tree using GCC as the compiler and sets `CMAKE_CXX_COMPILER_TARGET` to `amdgcn`, it's going to break.

I don't see how that's an issue. We already require that the device RTL is built with a 'just-built' clang that we pull out of the user's path.

https://github.com/llvm/llvm-project/pull/136359


More information about the llvm-commits mailing list