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

via libc-commits libc-commits at lists.llvm.org
Tue May 19 02:48:17 PDT 2026


Author: Jeff Bailey
Date: 2026-05-19T10:48:12+01:00
New Revision: 0eceac10de71050086961c6bde5a6976727b30e8

URL: https://github.com/llvm/llvm-project/commit/0eceac10de71050086961c6bde5a6976727b30e8
DIFF: https://github.com/llvm/llvm-project/commit/0eceac10de71050086961c6bde5a6976727b30e8.diff

LOG: [libc] Add regex_macros dependency to regex header (#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.

Added: 
    

Modified: 
    libc/include/CMakeLists.txt

Removed: 
    


################################################################################
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