[llvm] [bazel] Add new dependencies (PR #92323)
Keith Smiley via llvm-commits
llvm-commits at lists.llvm.org
Wed May 15 15:22:50 PDT 2024
https://github.com/keith updated https://github.com/llvm/llvm-project/pull/92323
>From 01a7f46a9384be7a0eb780882422970fbb03921b Mon Sep 17 00:00:00 2001
From: Keith Smiley <keithbsmiley at gmail.com>
Date: Wed, 15 May 2024 22:18:54 +0000
Subject: [PATCH] [bazel] Add new dependencies
This also fixes building ... on Linux. Seems like target_compatible_with
isn't enough but you also need a manual tag.
---
utils/bazel/llvm-project-overlay/lldb/BUILD.bazel | 5 ++++-
utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel | 1 +
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/utils/bazel/llvm-project-overlay/lldb/BUILD.bazel b/utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
index c6fc4e08aa727..ddcaea5184d43 100644
--- a/utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
@@ -916,7 +916,10 @@ apple_genrule(
srcs = [":debugserver_unsigned"],
outs = ["debugserver"],
cmd = "cp $(SRCS) $(OUTS) && xcrun codesign -f -s - --entitlements $(location tools/debugserver/resources/debugserver-macosx-entitlements.plist) $(OUTS)",
- tags = ["nobuildkite"],
+ tags = [
+ "manual",
+ "nobuildkite",
+ ],
target_compatible_with = select({
"@platforms//os:macos": [],
"//conditions:default": ["@platforms//:incompatible"],
diff --git a/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel b/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
index 21f0c7092f32e..b44489e213a40 100644
--- a/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
@@ -617,6 +617,7 @@ cc_test(
allow_empty = False,
),
deps = [
+ "//llvm:BitstreamReader",
"//llvm:Core",
"//llvm:Coverage",
"//llvm:DebugInfo",
More information about the llvm-commits
mailing list