[libc-commits] [libc] [libc] Fix assert dependency on macro header (PR #91036)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Fri May 3 18:37:41 PDT 2024


https://github.com/jhuber6 created https://github.com/llvm/llvm-project/pull/91036

Summary:
This file was missing a dependency so it wasn't being installed.


>From 5ae6b3f83989f69f7466dbbfa78ff21b37686353 Mon Sep 17 00:00:00 2001
From: Joseph Huber <huberjn at outlook.com>
Date: Fri, 3 May 2024 20:36:58 -0500
Subject: [PATCH] [libc] Fix assert dependency on macro header

Summary:
This file was missing a dependency so it wasn't being installed.
---
 libc/include/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libc/include/CMakeLists.txt b/libc/include/CMakeLists.txt
index 6101ec136b2639..be876c9090d33a 100644
--- a/libc/include/CMakeLists.txt
+++ b/libc/include/CMakeLists.txt
@@ -142,6 +142,7 @@ add_gen_header(
   GEN_HDR assert.h
   DEPENDS
     .llvm_libc_common_h
+    .llvm-libc-macros.assert_macros
 )
 
 add_gen_header(



More information about the libc-commits mailing list