1
Fork 0
hermetic_cc_toolchain/WORKSPACE

58 lines
1.8 KiB
Python
Raw Normal View History

2021-04-10 01:05:01 +03:00
workspace(
name = "zig-cc-bazel",
2021-04-10 01:05:01 +03:00
)
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2021-06-07 22:24:26 +03:00
http_archive(
name = "io_bazel_rules_go",
sha256 = "7c10271940c6bce577d51a075ae77728964db285dac0a46614a7934dc34303e6",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.26.0/rules_go-v0.26.0.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/v0.26.0/rules_go-v0.26.0.tar.gz",
],
)
http_archive(
name = "bazel_gazelle",
sha256 = "62ca106be173579c0a167deb23358fdfe71ffa1e4cfdddf5582af26520f1c66f",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.23.0/bazel-gazelle-v0.23.0.tar.gz",
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.23.0/bazel-gazelle-v0.23.0.tar.gz",
],
)
2021-06-07 22:40:51 +03:00
2021-06-07 22:24:26 +03:00
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
2021-06-07 22:40:51 +03:00
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
2021-06-07 22:24:26 +03:00
go_rules_dependencies()
go_register_toolchains(version = "1.16")
gazelle_dependencies(go_repository_default_config = "@//:WORKSPACE")
http_archive(
name = "com_google_protobuf",
sha256 = "bf0e5070b4b99240183b29df78155eee335885e53a8af8683964579c214ad301",
strip_prefix = "protobuf-3.14.0",
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.14.0.zip"],
)
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
http_archive(
name = "com_github_bazelbuild_buildtools",
strip_prefix = "buildtools-master",
url = "https://github.com/bazelbuild/buildtools/archive/master.zip",
)
2021-06-08 05:06:58 +03:00
load("//toolchain:defs.bzl",
zig_register_all_toolchains = "register_all_toolchains",
zig_toolchain_repositories = "toolchain_repositories",
2021-04-10 01:05:01 +03:00
)
zig_toolchain_repositories()
zig_register_all_toolchains()