[libc] [llvm] [libc] Build the GPU during the projects setup like libc-hdrgen (PR #84667)

via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 9 21:01:48 PST 2024


================
@@ -60,6 +60,10 @@ if(LLVM_LIBC_FULL_BUILD OR LLVM_LIBC_GPU_BUILD)
     message(STATUS "Will use ${LIBC_HDRGEN_EXE} for libc header generation.")
   endif()
 endif()
+# We will build the GPU utilities if we are not doing a runtimes build.
+if((LIBC_TARGET_OS_IS_GPU OR LLVM_LIBC_GPU_BUILD) AND NOT LLVM_RUNTIMES_BUILD)
----------------
lntue wrote:

Why do you have to skip this when `LLVM_RUNTIMES_BUILD` is set?

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


More information about the llvm-commits mailing list