Skip to content

Commit

Permalink
[bazel] Port eb206e9
Browse files Browse the repository at this point in the history
Leave around an alias so users can move at their own pace.
  • Loading branch information
d0k committed Jan 24, 2025
1 parent e5e55c0 commit 77c780d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

load("@bazel_skylib//rules:common_settings.bzl", "bool_flag")
load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
load("//llvm:binary_alias.bzl", "binary_alias")
load(
":build_defs.bzl",
"cc_headers_only",
Expand Down Expand Up @@ -10174,8 +10175,8 @@ cc_binary(
)

cc_binary(
name = "mlir-cpu-runner",
srcs = ["tools/mlir-cpu-runner/mlir-cpu-runner.cpp"],
name = "mlir-runner",
srcs = ["tools/mlir-runner/mlir-runner.cpp"],
deps = [
":AllToLLVMIRTranslations",
":BuiltinToLLVMIRTranslation",
Expand All @@ -10195,6 +10196,12 @@ cc_binary(
],
)

# TODO: Remove this alias.
binary_alias(
name = "mlir-cpu-runner",
binary = ":mlir-runner",
)

# This target provides the headers from LLVM's Support target without any of
# the symbols. In particular, it does not contain the static registration code
# which may be executed by at most one shared library loaded by ORCJit. Direct
Expand Down

0 comments on commit 77c780d

Please sign in to comment.