[libc-commits] [libc] [llvm] [libc] Remove special full build handling for GPU (PR #128572)

via libc-commits libc-commits at lists.llvm.org
Mon Feb 24 13:48:28 PST 2025


================
@@ -128,7 +128,13 @@ else()
   endif()
 endif()
 
-option(LLVM_LIBC_FULL_BUILD "Build and test LLVM libc as if it is the full libc" OFF)
+# Some targets can only support the full build.
+set(default_to_full_build OFF)
+if(LIBC_TARGET_OS_IS_GPU)
+  set(default_to_full_build ON)
+endif()
+
+option(LLVM_LIBC_FULL_BUILD "Build and test LLVM libc as if it is the full libc" ${default_to_full_build})
----------------
lntue wrote:

nah, that's ok.

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


More information about the libc-commits mailing list