Skip to content

Commit ccff6cc

Browse files
authored
[bazel] Port 65bc259 (#109458)
1 parent 7f1633c commit ccff6cc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

utils/bazel/llvm-project-overlay/bolt/BUILD.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@ cc_library(
116116
srcs = glob([
117117
"lib/RuntimeLibs/*.cpp",
118118
]),
119+
defines = ["CMAKE_INSTALL_FULL_LIBDIR=\\\"\\\""],
119120
includes = ["include"],
120121
textual_hdrs = glob([
121122
"include/bolt/RuntimeLibs/*.h",
122123
]) + ["include/bolt/RuntimeLibs/RuntimeLibraryVariables.inc"],
123-
defines=["CMAKE_INSTALL_FULL_LIBDIR=\\\"\\\""],
124124
deps = [
125125
":Core",
126126
":Passes",
@@ -287,6 +287,7 @@ cc_library(
287287
"//llvm:ObjectYAML",
288288
"//llvm:Support",
289289
"//llvm:TargetParser",
290+
"//llvm:config",
290291
"//llvm:ir_headers",
291292
],
292293
)

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5279,6 +5279,7 @@ cc_library(
52795279
":IR",
52805280
":Support",
52815281
"//llvm:Support",
5282+
"//llvm:config",
52825283
],
52835284
)
52845285

@@ -7460,6 +7461,7 @@ cc_library(
74607461
deps = [
74617462
":SPIRVDialect",
74627463
":Support",
7464+
"//llvm:config",
74637465
],
74647466
)
74657467

0 commit comments

Comments
 (0)