Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit da0343c

Browse files
authored
Update BUILD files and submodule for [91d3f73937b6](llvm/llvm-project@91d3f73937b6)
1 parent 95d5e10 commit da0343c

2 files changed

Lines changed: 39 additions & 2 deletions

File tree

‎llvm-bazel/llvm-project-overlay/mlir/BUILD‎

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1723,6 +1723,28 @@ cc_library(
17231723
deps = ["//llvm:Support"],
17241724
)
17251725

1726+
cc_library(
1727+
name = "MlirLspServerLib",
1728+
srcs = glob(
1729+
[
1730+
"lib/Tools/mlir-lsp-server/*.cpp",
1731+
"lib/Tools/mlir-lsp-server/*.h",
1732+
"lib/Tools/mlir-lsp-server/lsp/*.cpp",
1733+
"lib/Tools/mlir-lsp-server/lsp/*.h",
1734+
],
1735+
),
1736+
hdrs = glob(
1737+
["include/mlir/Tools/mlir-lsp-server/*.h"],
1738+
),
1739+
includes = ["include"],
1740+
deps = [
1741+
":IR",
1742+
":Parser",
1743+
":Support",
1744+
"//llvm:Support",
1745+
],
1746+
)
1747+
17261748
cc_library(
17271749
name = "ParserTokenKinds",
17281750
# strip_include_prefix does not apply to textual_hdrs.
@@ -1737,7 +1759,11 @@ cc_library(
17371759
"lib/Parser/*.cpp",
17381760
"lib/Parser/*.h",
17391761
]),
1740-
hdrs = ["include/mlir/Parser.h"],
1762+
hdrs = glob([
1763+
"include/mlir/Parser/*.h",
1764+
]) + [
1765+
"include/mlir/Parser.h",
1766+
],
17411767
includes = ["include"],
17421768
deps = [
17431769
":IR",
@@ -4139,6 +4165,17 @@ alias(
41394165
deprecation = "Use AllPassesAndDialects instead",
41404166
)
41414167

4168+
cc_binary(
4169+
name = "mlir-lsp-server",
4170+
srcs = ["tools/mlir-lsp-server/mlir-lsp-server.cpp"],
4171+
includes = ["include"],
4172+
deps = [
4173+
":AllPassesAndDialects",
4174+
":IR",
4175+
":MlirLspServerLib",
4176+
],
4177+
)
4178+
41424179
cc_binary(
41434180
name = "mlir-opt",
41444181
srcs = ["tools/mlir-opt/mlir-opt.cpp"],

‎third_party/llvm-project‎

Submodule llvm-project updated 1241 files

0 commit comments

Comments
 (0)