[libc-commits] [libc] Revert "[libc] newheadergen: cmakelist file changes" (PR #99413)

via libc-commits libc-commits at lists.llvm.org
Wed Jul 17 17:16:33 PDT 2024


https://github.com/aaryanshukla created https://github.com/llvm/llvm-project/pull/99413

Reverts llvm/llvm-project#99404

>From aff9c628a0d9efab790186b5d683196b900318f6 Mon Sep 17 00:00:00 2001
From: aaryanshukla <53713108+aaryanshukla at users.noreply.github.com>
Date: Wed, 17 Jul 2024 17:16:23 -0700
Subject: [PATCH] Revert "[libc] newheadergen: cmakelist file changes (#99404)"

This reverts commit ad023a844ab19f37ea0abd2130ec81ea2663937b.
---
 libc/include/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libc/include/CMakeLists.txt b/libc/include/CMakeLists.txt
index cd92ad126bc48..bbc0f7abafd55 100644
--- a/libc/include/CMakeLists.txt
+++ b/libc/include/CMakeLists.txt
@@ -173,7 +173,7 @@ file(MAKE_DIRECTORY ${LIBC_INCLUDE_DIR}/arpa)
 
 add_header_macro(
   arpa_inet
-  ../libc/newhdrgen/yaml/arpa/arpa_inet.yaml
+  ../libc/newhdrgen/yaml/arpa_inet.yaml
   arpa/inet.h.def
   arpa/inet.h
   DEPENDS
@@ -703,7 +703,7 @@ if(LIBC_TARGET_OS_IS_GPU)
 
   add_header_macro(
     gpu_rpc
-    ../libc/newhdrgen/yaml/gpu/gpu_rpc.yaml
+    ../libc/newhdrgen/yaml/rpc.yaml
     gpu/rpc.h.def
     gpu/rpc.h
     DEPENDS



More information about the libc-commits mailing list