Skip to content

Commit e731422

Browse files
committed
bazel: rename root BUILD to BUILD.bazel, drop empty WORKSPACE
Match the top-level package convention used by tools/OpenROAD/ (BUILD.bazel at the package root, plain BUILD in sub-packages). Adding bazel/BUILD in the previous commit turned bazel/ into a package, so the root BUILD's src reference "bazel/install.sh" became invalid; point it at the //bazel:install.sh label instead and export the file from bazel/BUILD. Drop the empty WORKSPACE — tools/OpenROAD/ already runs WORKSPACE-less and bazel 8 with no --enable_workspace runs bzlmod-only. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent 980cc06 commit e731422

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

BUILD renamed to BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ load("@rules_shell//shell:sh_binary.bzl", "sh_binary")
22

33
sh_binary(
44
name = "install_for_bazel",
5-
srcs = ["bazel/install.sh"],
5+
srcs = ["//bazel:install.sh"],
66
)

WORKSPACE

Lines changed: 0 additions & 2 deletions
This file was deleted.

bazel/BUILD

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
exports_files(glob(["*.patch"]))
1+
exports_files(
2+
glob(["*.patch"]) + ["install.sh"],
3+
)

0 commit comments

Comments
 (0)