[libc-commits] [libc] [libc] Add regex_macros dependency to regex header (PR #198453)

Jeff Bailey via libc-commits libc-commits at lists.llvm.org
Tue May 19 00:25:01 PDT 2026


https://github.com/kaladron created https://github.com/llvm/llvm-project/pull/198453

Added the regex_macros dependency to the regex header target. regex-macros.h was not being installed when regex entrypoints were enabled.

Assisted-by: Automated tooling, human reviewed.

>From c206ff4ae698040aa127f8e76eeb00e475823222 Mon Sep 17 00:00:00 2001
From: Jeff Bailey <jbailey at raspberryginger.com>
Date: Tue, 19 May 2026 08:24:12 +0100
Subject: [PATCH] [libc] Add regex_macros dependency to regex header (#196995)

Added the regex_macros dependency to the regex header target.
regex-macros.h was not being installed when regex entrypoints
were enabled.

Assisted-by: Automated tooling, human reviewed.
---
 libc/include/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libc/include/CMakeLists.txt b/libc/include/CMakeLists.txt
index 454622198e751..fc960ff60e986 100644
--- a/libc/include/CMakeLists.txt
+++ b/libc/include/CMakeLists.txt
@@ -317,6 +317,7 @@ add_header_macro(
   regex.h
   DEPENDS
     .llvm_libc_common_h
+    .llvm-libc-macros.regex_macros
     .llvm-libc-types.regex_t
     .llvm-libc-types.regmatch_t
     .llvm-libc-types.regoff_t



More information about the libc-commits mailing list