[libc-commits] [libc] [llvm] [RFC][libc] Codify header inclusion policy (PR #87017)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Fri Mar 29 09:55:42 PDT 2024


================
@@ -43,6 +43,7 @@ function(_get_common_compile_options output_var flags)
     list(APPEND compile_options "-fpie")
 
     if(LLVM_LIBC_FULL_BUILD)
+      list(APPEND compile_options "-DLIBC_FULL_BUILD")
----------------
michaelrj-google wrote:

In cmake I agree that leaving the default as overlay mode for now makes sense, but in the code I think if no compile flags are set it should default to fullbuild. My guess is that once we make this choice we won't want to switch later, and I think people creating their own build systems will want fullbuild eventually.

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


More information about the libc-commits mailing list