[libc-commits] [libc] [libc] New HeaderGen Switch Flip (PR #99929)

via libc-commits libc-commits at lists.llvm.org
Mon Jul 22 13:20:58 PDT 2024


https://github.com/RoseZhang03 created https://github.com/llvm/llvm-project/pull/99929

Flipped option from OFF to ON for automatically building libc with New
HeaderGen.


>From f94ff3a0a19a8df7092ed14322ed7c813efbd4d1 Mon Sep 17 00:00:00 2001
From: Rose Zhang <rosezhang at google.com>
Date: Mon, 22 Jul 2024 20:19:08 +0000
Subject: [PATCH] [libc] New HeaderGen Switch Flip

Flipped option from OFF to ON for automatically building libc with New
HeaderGen.
---
 libc/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libc/CMakeLists.txt b/libc/CMakeLists.txt
index 6e0760724d963..45cca17562d26 100644
--- a/libc/CMakeLists.txt
+++ b/libc/CMakeLists.txt
@@ -73,7 +73,7 @@ if(LIBC_BUILD_GPU_LOADER OR (LLVM_LIBC_GPU_BUILD AND NOT LLVM_RUNTIMES_BUILD))
   add_subdirectory(utils/gpu)
 endif()
 
-option(LIBC_USE_NEW_HEADER_GEN "Generate header files using new headergen instead of the old one" OFF)
+option(LIBC_USE_NEW_HEADER_GEN "Generate header files using new headergen instead of the old one" ON)
 
 set(NEED_LIBC_HDRGEN FALSE)
 if(NOT LLVM_RUNTIMES_BUILD)



More information about the libc-commits mailing list