[libc-commits] [libc] [libc] init uefi os target (PR #120687)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Sat Feb 8 05:15:42 PST 2025


================
@@ -257,8 +257,10 @@ else()
   set(LIBC_INSTALL_LIBRARY_DIR lib${LLVM_LIBDIR_SUFFIX})
 endif()
 
-if(LIBC_TARGET_OS_IS_GPU)
-  include(prepare_libc_gpu_build)
+if(LIBC_TARGET_OS_IS_GPU OR LIBC_TARGET_OS_IS_UEFI)
+  if(LIBC_TARGET_OS_IS_GPU)
+    include(prepare_libc_gpu_build)
+  endif()
----------------
jhuber6 wrote:

This should just be separate now, no need to make the control flow more complicated.

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


More information about the libc-commits mailing list