Skip to content

Commit 77c780d

Browse files
committed
[bazel] Port eb206e9
Leave around an alias so users can move at their own pace.
1 parent e5e55c0 commit 77c780d

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
99
load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
10+
load("//llvm:binary_alias.bzl", "binary_alias")
1011
load(
1112
":build_defs.bzl",
1213
"cc_headers_only",
@@ -10174,8 +10175,8 @@ cc_binary(
1017410175
)
1017510176

1017610177
cc_binary(
10177-
name = "mlir-cpu-runner",
10178-
srcs = ["tools/mlir-cpu-runner/mlir-cpu-runner.cpp"],
10178+
name = "mlir-runner",
10179+
srcs = ["tools/mlir-runner/mlir-runner.cpp"],
1017910180
deps = [
1018010181
":AllToLLVMIRTranslations",
1018110182
":BuiltinToLLVMIRTranslation",
@@ -10195,6 +10196,12 @@ cc_binary(
1019510196
],
1019610197
)
1019710198

10199+
# TODO: Remove this alias.
10200+
binary_alias(
10201+
name = "mlir-cpu-runner",
10202+
binary = ":mlir-runner",
10203+
)
10204+
1019810205
# This target provides the headers from LLVM's Support target without any of
1019910206
# the symbols. In particular, it does not contain the static registration code
1020010207
# which may be executed by at most one shared library loaded by ORCJit. Direct

0 commit comments

Comments
 (0)