Skip to content

Commit 18a0675

Browse files
[bazel] Add gdb-scripts filegroup in llvm and mlir (#146358)
This would be useful if downstream projects want to use the provided pretty printers
1 parent 16dc6f6 commit 18a0675

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5160,6 +5160,11 @@ cc_binary(
51605160
],
51615161
)
51625162

5163+
filegroup(
5164+
name = "gdb-scripts",
5165+
srcs = glob(["utils/gdb-scripts/*"]),
5166+
)
5167+
51635168
################################################################################
51645169
# Begin testonly libraries
51655170

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ exports_files([
3030
"utils/textmate/mlir.json",
3131
])
3232

33+
filegroup(
34+
name = "gdb-scripts",
35+
srcs = glob(["utils/gdb-scripts/*"]),
36+
)
37+
3338
bool_flag(
3439
name = "enable_cuda",
3540
build_setting_default = False,

0 commit comments

Comments
 (0)