Skip to content

Commit 10f1c48

Browse files
Bazel updates
Signed-off-by: Shameek Ganguly <[email protected]>
1 parent 7e409b5 commit 10f1c48

File tree

2 files changed

+4
-33
lines changed

2 files changed

+4
-33
lines changed

MODULE.bazel

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
## MODULE.bazel
21
module(
32
name = "sdformat",
4-
repo_name = "org_gazebosim_sdformat",
3+
compatibility_level = 0,
54
)
65

7-
bazel_dep(name = "buildifier_prebuilt", version = "8.2.0")
6+
bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2")
87
bazel_dep(name = "googletest", version = "1.14.0.bcr.1")
98
bazel_dep(name = "rules_cc", version = "0.1.1")
109
bazel_dep(name = "rules_python", version = "0.40.0")
@@ -13,17 +12,5 @@ bazel_dep(name = "tinyxml2", version = "10.0.0")
1312

1413
# Gazebo Dependencies
1514
bazel_dep(name = "rules_gazebo", version = "0.0.6")
16-
bazel_dep(name = "gz-utils")
17-
bazel_dep(name = "gz-math")
18-
19-
archive_override(
20-
module_name = "gz-utils",
21-
strip_prefix = "gz-utils-gz-utils4",
22-
urls = ["https://github.com/gazebosim/gz-utils/archive/refs/heads/gz-utils4.tar.gz"],
23-
)
24-
25-
archive_override(
26-
module_name = "gz-math",
27-
strip_prefix = "gz-math-gz-math9",
28-
urls = ["https://github.com/gazebosim/gz-math/archive/refs/heads/gz-math9.tar.gz"],
29-
)
15+
bazel_dep(name = "gz-utils", version = "4.0.0-pre1")
16+
bazel_dep(name = "gz-math", version = "9.0.0-pre1")

test/BUILD.bazel

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
load("@buildifier_prebuilt//:rules.bzl", "buildifier", "buildifier_test")
21
load("@rules_cc//cc:cc_library.bzl", "cc_library")
32
load("@rules_cc//cc:cc_test.bzl", "cc_test")
43
load("@rules_gazebo//gazebo:headers.bzl", "gz_configure_header")
@@ -1048,18 +1047,3 @@ cc_test(
10481047
"@googletest//:gtest_main",
10491048
],
10501049
)
1051-
1052-
# Bazel linting
1053-
buildifier(
1054-
name = "buildifier.fix",
1055-
lint_mode = "fix",
1056-
mode = "fix",
1057-
)
1058-
1059-
buildifier_test(
1060-
name = "buildifier.test",
1061-
lint_mode = "warn",
1062-
mode = "diff",
1063-
no_sandbox = True,
1064-
workspace = "//:MODULE.bazel",
1065-
)

0 commit comments

Comments
 (0)