[llvm] [bazel][libc] Remove LIBC_FULL_BUILD-only dependencies (PR #216345)

Walter Lee via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 09:06:01 PDT 2026


https://github.com/googlewalt created https://github.com/llvm/llvm-project/pull/216345

Fixes 45f1b25a0d069a2cee0632e1d1df4ff3342f136e.

Our BUILD files don't support LIBC_FULL_BUILD yet.  Adding these dependencies cause issues with darwin_x86_64 builds, etc.

>From c2733fdc4023fabef4e20e1e43dba314c76cbc74 Mon Sep 17 00:00:00 2001
From: Walter Lee <waltl at google.com>
Date: Fri, 14 Aug 2026 16:02:11 +0000
Subject: [PATCH] [bazel][libc] Remove LIBC_FULL_BUILD-only dependencies

Fixes 45f1b25a0d069a2cee0632e1d1df4ff3342f136e.

Our BUILD files don't support LIBC_FULL_BUILD yet.  Adding these
dependencies cause issues with darwin_x86_64 builds, etc.
---
 utils/bazel/llvm-project-overlay/libc/BUILD.bazel | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index a0ec40244269a..9ca4adf8b03be 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -1467,20 +1467,13 @@ libc_support_library(
     name = "__support_libc_assert",
     hdrs = ["src/__support/libc_assert.h"],
     deps = [
-        ":__support_integer_to_string",
         ":__support_macros_attributes",
         ":__support_macros_config",
         ":__support_macros_hardening",
         ":__support_macros_macro_utils",
         ":__support_macros_optimization",
         ":__support_macros_properties_os",
-        ":__support_osutil_exit_hdrs",
-    ] + select({
-        "@platforms//os:linux": [":__support_osutil_io"],
-        "@platforms//os:macos": [":__support_osutil_io"],
-        "@platforms//os:windows": [":__support_osutil_io"],
-        "//conditions:default": [],
-    }),
+    ],
 )
 
 libc_support_library(



More information about the llvm-commits mailing list