blob: 6df03db47f8bf6b9edc1766b96d41b31f1a8c087 [file] [log] [blame]
# Copyright 2017 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# A template file for a minimal WORKSPACE file that uses rbe_autoconfig
# Note values for sha256 and commit are not set and should be set with
# values in https://releases.bazel.build/bazel-toolchains.html
workspace(name = "rbe_system_check")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
http_archive(
name = "bazel_toolchains",
sha256 = "<bazel_toolchains_sha256>",
strip_prefix = "bazel-toolchains-<bazel_toolchains_commit>",
urls = [
"https://github.com/bazelbuild/bazel-toolchains/archive/<bazel_toolchains_commit>.tar.gz",
],
)
load(
"@bazel_toolchains//repositories:repositories.bzl",
bazel_toolchains_repositories = "repositories",
)
bazel_toolchains_repositories()
load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig")
rbe_autoconfig(name = "rbe_default")