forked from OSchip/llvm-project
[MLIR] Fix bazel BUILD file after Parser.h moved.
See D121024, D121025, D121026. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D121094
This commit is contained in:
parent
4fd6c6e65a
commit
4c3c107b54
|
@ -3008,20 +3008,11 @@ cc_library(
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "Support",
|
name = "Support",
|
||||||
srcs = glob(
|
srcs = glob([
|
||||||
[
|
"lib/Support/*.cpp",
|
||||||
"lib/Support/*.cpp",
|
"lib/Support/*.h",
|
||||||
"lib/Support/*.h",
|
]),
|
||||||
],
|
hdrs = glob(["include/mlir/Support/*.h"]),
|
||||||
exclude = [
|
|
||||||
# TODO(jpienaar): Move this out, else Support depends on Analysis/
|
|
||||||
"lib/Support/MlirOptMain.cpp",
|
|
||||||
],
|
|
||||||
),
|
|
||||||
hdrs = glob(
|
|
||||||
["include/mlir/Support/*.h"],
|
|
||||||
exclude = ["include/mlir/Support/MlirOptMain.h"],
|
|
||||||
),
|
|
||||||
includes = ["include"],
|
includes = ["include"],
|
||||||
deps = ["//llvm:Support"],
|
deps = ["//llvm:Support"],
|
||||||
)
|
)
|
||||||
|
@ -3064,9 +3055,7 @@ cc_library(
|
||||||
]),
|
]),
|
||||||
hdrs = glob([
|
hdrs = glob([
|
||||||
"include/mlir/Parser/*.h",
|
"include/mlir/Parser/*.h",
|
||||||
]) + [
|
]),
|
||||||
"include/mlir/Parser.h",
|
|
||||||
],
|
|
||||||
includes = ["include"],
|
includes = ["include"],
|
||||||
deps = [
|
deps = [
|
||||||
":IR",
|
":IR",
|
||||||
|
@ -5548,11 +5537,8 @@ cc_library(
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "Translation",
|
name = "Translation",
|
||||||
srcs = glob([
|
srcs = glob(["lib/Tools/mlir-translate/*.cpp"]),
|
||||||
"lib/Translation/*.cpp",
|
hdrs = glob(["include/mlir/Tools/mlir-translate/*.h"]),
|
||||||
"lib/Translation/*.h",
|
|
||||||
]),
|
|
||||||
hdrs = ["include/mlir/Translation.h"],
|
|
||||||
includes = ["include"],
|
includes = ["include"],
|
||||||
deps = [
|
deps = [
|
||||||
":IR",
|
":IR",
|
||||||
|
@ -5846,8 +5832,8 @@ cc_library(
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "MlirOptLib",
|
name = "MlirOptLib",
|
||||||
srcs = ["lib/Support/MlirOptMain.cpp"],
|
srcs = ["lib/Tools/mlir-opt/MlirOptMain.cpp"],
|
||||||
hdrs = ["include/mlir/Support/MlirOptMain.h"],
|
hdrs = ["include/mlir/Tools/mlir-opt/MlirOptMain.h"],
|
||||||
includes = ["include"],
|
includes = ["include"],
|
||||||
deps = [
|
deps = [
|
||||||
":IR",
|
":IR",
|
||||||
|
|
Loading…
Reference in New Issue