Skip to content

Conversation

rupprecht
Copy link
Collaborator

No description provided.

@rupprecht rupprecht added the skip-precommit-approval PR for CI feedback, not intended for review label Sep 5, 2025
@llvmbot llvmbot added libc bazel "Peripheral" support tier build system: utils/bazel labels Sep 5, 2025
@llvmbot
Copy link
Member

llvmbot commented Sep 5, 2025

@llvm/pr-subscribers-libc

Author: Jordan Rupprecht (rupprecht)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/157003.diff

1 Files Affected:

  • (modified) utils/bazel/llvm-project-overlay/libc/BUILD.bazel (+15-1)
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index acfd0d96a28bf..ee7e5cbf5febb 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -121,6 +121,16 @@ libc_support_library(
 
 ################################# Include Files ################################
 
+libc_support_library(
+    name = "llvm_libc_macros_complex_macros",
+    hdrs = [
+        "include/llvm-libc-macros/cfloat128-macros.h",
+        "include/llvm-libc-macros/cfloat16-macros.h",
+        "include/llvm-libc-macros/complex-macros.h",
+    ],
+    deps = [":llvm_libc_macros_float_macros"],
+)
+
 libc_support_library(
     name = "llvm_libc_macros_math_macros",
     hdrs = ["include/llvm-libc-macros/math-macros.h"],
@@ -168,12 +178,16 @@ libc_support_library(
 libc_support_library(
     name = "llvm_libc_types_cfloat128",
     hdrs = ["include/llvm-libc-types/cfloat128.h"],
-    deps = [":llvm_libc_macros_float_macros"],
+    deps = [
+        ":llvm_libc_macros_complex_macros",
+        ":llvm_libc_macros_float_macros",
+    ],
 )
 
 libc_support_library(
     name = "llvm_libc_types_cfloat16",
     hdrs = ["include/llvm-libc-types/cfloat16.h"],
+    deps = [":llvm_libc_macros_complex_macros"],
 )
 
 libc_support_library(

@rupprecht rupprecht enabled auto-merge (squash) September 5, 2025 02:56
@rupprecht rupprecht merged commit 3436701 into llvm:main Sep 5, 2025
14 checks passed
@rupprecht rupprecht deleted the bzl-cfloat-macros branch September 5, 2025 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bazel "Peripheral" support tier build system: utils/bazel libc skip-precommit-approval PR for CI feedback, not intended for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants