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

Shilei Tian via Openmp-commits openmp-commits at lists.llvm.org
Wed Nov 6 12:47:10 PST 2024


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

I'm not sure why `compiler-rt` is needed but it definitely doesn't work if it is not enabled.

> 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.

I always have it enabled but didn't see that issue.

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


More information about the Openmp-commits mailing list