mirror of
https://github.com/bazel-contrib/rules_foreign_cc
synced 2024-11-29 12:33:51 +00:00
d838bc5506
Co-authored-by: irengrig <ichern@google.com>
36 lines
1.3 KiB
Python
36 lines
1.3 KiB
Python
""" Remote repositories, used by this project itself """
|
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
|
|
def repositories():
|
|
_all_content = """filegroup(name = "all", srcs = glob(["**"]), visibility = ["//visibility:public"])"""
|
|
|
|
http_archive(
|
|
name = "bazel_skylib",
|
|
sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44",
|
|
urls = [
|
|
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
|
|
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
|
|
],
|
|
)
|
|
|
|
http_archive(
|
|
name = "ninja_build",
|
|
build_file_content = _all_content,
|
|
sha256 = "3810318b08489435f8efc19c05525e80a993af5a55baa0dfeae0465a9d45f99f",
|
|
strip_prefix = "ninja-1.10.0",
|
|
urls = [
|
|
"https://github.com/ninja-build/ninja/archive/v1.10.0.tar.gz",
|
|
],
|
|
)
|
|
|
|
http_archive(
|
|
name = "cmake",
|
|
build_file_content = _all_content,
|
|
sha256 = "fc77324c4f820a09052a7785549b8035ff8d3461ded5bbd80d252ae7d1cd3aa5",
|
|
strip_prefix = "cmake-3.17.2",
|
|
urls = [
|
|
"https://github.com/Kitware/CMake/releases/download/v3.17.2/cmake-3.17.2.tar.gz",
|
|
],
|
|
)
|