[clang] [llvm] [libc] remove references to LIBC_HDRGEN_ONLY (PR #118670)

Nick Desaulniers via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 4 09:45:20 PST 2024


================
@@ -69,8 +69,8 @@ function(llvm_create_cross_target project_name target_name toolchain buildtype)
          "-DLLVM_EXTERNAL_${name}_SOURCE_DIR=${LLVM_EXTERNAL_${name}_SOURCE_DIR}")
   endforeach()
 
-  if("libc" IN_LIST LLVM_ENABLE_PROJECTS AND NOT LIBC_HDRGEN_EXE)
-    set(libc_flags -DLLVM_LIBC_FULL_BUILD=ON -DLIBC_HDRGEN_ONLY=ON)
+  if("libc" IN_LIST LLVM_ENABLE_PROJECTS)
+    set(libc_flags -DLLVM_LIBC_FULL_BUILD=ON)
     if(MSVC)
----------------
nickdesaulniers wrote:

Seems it was added by b348126b21ee4a3189dde946e70f2b0e899f86e9 @petrhosek . 6b78e94110dda seems orthogonal.

The block recently added by 3dc97557d1ac0cd7924b9679efbfc8f916f5365e probably shouldn't be touched.

Let me remove the block then.

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


More information about the cfe-commits mailing list