[llvm] [bazel] Fix cyclic dependencies for macos (PR #104528)
Billy Zhu via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 15 17:48:51 PDT 2024
https://github.com/zyx-billy created https://github.com/llvm/llvm-project/pull/104528
Similar to https://github.com/llvm/llvm-project/pull/104481. Replace more "Utility" dependencies with "UtilityHeaders" to avoid cyclic dependency when building on macos.
>From 74465317062a57586ac3f5f32c0d4ce454daa241 Mon Sep 17 00:00:00 2001
From: Billy Zhu <billyzhu at modular.com>
Date: Thu, 15 Aug 2024 17:46:10 -0700
Subject: [PATCH] replace Utility with UtilityHeaders
---
utils/bazel/llvm-project-overlay/lldb/BUILD.bazel | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/utils/bazel/llvm-project-overlay/lldb/BUILD.bazel b/utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
index 7841045afa6d21..ee7ea7458b4488 100644
--- a/utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
@@ -469,7 +469,7 @@ cc_library(
"include/lldb/Host/posix/*.h",
]),
strip_include_prefix = "include",
- deps = [":Utility"],
+ deps = [":UtilityHeaders"],
)
cc_library(
@@ -484,7 +484,7 @@ cc_library(
"@platforms//os:macos": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
- deps = [":Utility"],
+ deps = [":UtilityHeaders"],
)
objc_library(
@@ -502,7 +502,7 @@ objc_library(
":Headers",
":HostMacOSXHeaders",
":HostMacOSXPrivateHeaders",
- ":Utility",
+ ":UtilityHeaders",
"//llvm:Support",
"//llvm:TargetParser",
],
More information about the llvm-commits
mailing list