[llvm] [bazel] Port 65bc259a97cd8cc70907b65f59aff728245ba9c0 (PR #109458)
Keith Smiley via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 20 11:56:46 PDT 2024
https://github.com/keith created https://github.com/llvm/llvm-project/pull/109458
None
>From 5ae3d8f0d7da47ecedd93dd7c5c5fa20e7981e71 Mon Sep 17 00:00:00 2001
From: Keith Smiley <keithbsmiley at gmail.com>
Date: Fri, 20 Sep 2024 18:56:11 +0000
Subject: [PATCH] [bazel] Port 65bc259a97cd8cc70907b65f59aff728245ba9c0
---
utils/bazel/llvm-project-overlay/bolt/BUILD.bazel | 3 ++-
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel | 2 ++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/utils/bazel/llvm-project-overlay/bolt/BUILD.bazel b/utils/bazel/llvm-project-overlay/bolt/BUILD.bazel
index 907fe106166b30..d6fefc4549593b 100644
--- a/utils/bazel/llvm-project-overlay/bolt/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/bolt/BUILD.bazel
@@ -116,11 +116,11 @@ cc_library(
srcs = glob([
"lib/RuntimeLibs/*.cpp",
]),
+ defines = ["CMAKE_INSTALL_FULL_LIBDIR=\\\"\\\""],
includes = ["include"],
textual_hdrs = glob([
"include/bolt/RuntimeLibs/*.h",
]) + ["include/bolt/RuntimeLibs/RuntimeLibraryVariables.inc"],
- defines=["CMAKE_INSTALL_FULL_LIBDIR=\\\"\\\""],
deps = [
":Core",
":Passes",
@@ -287,6 +287,7 @@ cc_library(
"//llvm:ObjectYAML",
"//llvm:Support",
"//llvm:TargetParser",
+ "//llvm:config",
"//llvm:ir_headers",
],
)
diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
index 28b9ccfb3d4ff4..22a3ea860bcf71 100644
--- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -5279,6 +5279,7 @@ cc_library(
":IR",
":Support",
"//llvm:Support",
+ "//llvm:config",
],
)
@@ -7460,6 +7461,7 @@ cc_library(
deps = [
":SPIRVDialect",
":Support",
+ "//llvm:config",
],
)
More information about the llvm-commits
mailing list