Skip to content

Commit 0f22aa0

Browse files
committed
Bump to Bazel 2.0.0 and add support for an RBE
Bazel 2 is very shiny, and so must be used. The support for a Remote Build Environment makes life a little bit easier if one is available. Hopefully at some point soon we can get access to the Google RBE alpha....
1 parent 4dfe74b commit 0f22aa0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

WORKSPACE

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,20 @@ workspace(
88

99
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
1010

11+
http_archive(
12+
name = "bazel_toolchains",
13+
sha256 = "e2126599d29f2028e6b267eba273dcc8e7f4a35ff323e9600cf42fb03875b7c6",
14+
strip_prefix = "bazel-toolchains-2.0.0",
15+
urls = [
16+
"https://github.com/bazelbuild/bazel-toolchains/releases/download/2.0.0/bazel-toolchains-2.0.0.tar.gz",
17+
"https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/2.0.0.tar.gz",
18+
],
19+
)
20+
21+
load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig")
22+
23+
rbe_autoconfig(name = "rbe_default")
24+
1125
http_archive(
1226
name = "rules_jvm_external",
1327
sha256 = "e246373de2353f3d34d35814947aa8b7d0dd1a58c2f7a6c41cfeaff3007c2d14",

0 commit comments

Comments
 (0)