[llvm] [openmp] [Offload] Provide a CMake cache file to easily build offloading (PR #115074)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 6 12:44:34 PST 2024


================
@@ -0,0 +1,12 @@
+set(LLVM_ENABLE_PROJECTS "clang;clang-tools-extra;lld" CACHE STRING "")
----------------
jhuber6 wrote:

Why does HIP require the `clang` compiler-rt? Does it also enable `-frtlib=compiler-rt`? I can add it, but one unfortunate thing about having `compiler-rt` enabled in the main project is that it forces a CMake reconfigure *every* single time you run `ninja`.

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


More information about the llvm-commits mailing list