[libc-commits] [libc] [llvm] [libc] Remove special full build handling for GPU (PR #128572)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Mon Feb 24 13:33:39 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})
----------------
jhuber6 wrote:
I could just make it `${LIBC_OS_IS_GPU}` for now, that's a one liner.
https://github.com/llvm/llvm-project/pull/128572
More information about the libc-commits
mailing list