|
|
@@ -16,8 +16,8 @@ rules_python_version = "0.8.1"
|
|
|
http_archive(
|
|
|
name = "rules_python",
|
|
|
sha256 = "cdf6b84084aad8f10bf20b46b77cb48d83c319ebe6458a18e9d2cebf57807cdd",
|
|
|
- strip_prefix = "rules_python-%s" % rules_python_version,
|
|
|
- url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/%s.tar.gz" % rules_python_version,
|
|
|
+ strip_prefix = "rules_python-{0}".format(rules_python_version),
|
|
|
+ url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/{0}.tar.gz".format(rules_python_version),
|
|
|
)
|
|
|
|
|
|
load("@rules_python//python:pip.bzl", "pip_install")
|
|
|
@@ -50,8 +50,8 @@ abseil_version = "530cd52f585c9d31b2b28cea7e53915af7a878e3"
|
|
|
http_archive(
|
|
|
name = "com_google_absl",
|
|
|
sha256 = "f8a6789514a3b109111252af92da41d6e64f90efca9fb70515d86debee57dc24",
|
|
|
- strip_prefix = "abseil-cpp-%s" % abseil_version,
|
|
|
- urls = ["https://github.com/abseil/abseil-cpp/archive/%s.tar.gz" % abseil_version],
|
|
|
+ strip_prefix = "abseil-cpp-{0}".format(abseil_version),
|
|
|
+ urls = ["https://github.com/abseil/abseil-cpp/archive/{0}.tar.gz".format(abseil_version)],
|
|
|
)
|
|
|
|
|
|
###############################################################################
|
|
|
@@ -64,8 +64,8 @@ re2_version = "cc1c9db8bf5155d89d10d65998cdb226f676492c"
|
|
|
http_archive(
|
|
|
name = "com_googlesource_code_re2",
|
|
|
sha256 = "8ef976c79a300f8c5e880535665bd4ba146fb09fb6d2342f8f1a02d9af29f365",
|
|
|
- strip_prefix = "re2-%s" % re2_version,
|
|
|
- urls = ["https://github.com/google/re2/archive/%s.tar.gz" % re2_version],
|
|
|
+ strip_prefix = "re2-{0}".format(re2_version),
|
|
|
+ urls = ["https://github.com/google/re2/archive/{0}.tar.gz".format(re2_version)],
|
|
|
)
|
|
|
|
|
|
###############################################################################
|
|
|
@@ -78,8 +78,8 @@ googletest_version = "1336c4b6d1a6f4bc6beebccb920e5ff858889292"
|
|
|
http_archive(
|
|
|
name = "com_google_googletest",
|
|
|
sha256 = "d701aaeb9a258afba27210d746d971042be96c371ddc5a49f1e8914d9ea17e3c",
|
|
|
- strip_prefix = "googletest-%s" % googletest_version,
|
|
|
- urls = ["https://github.com/google/googletest/archive/%s.tar.gz" % googletest_version],
|
|
|
+ strip_prefix = "googletest-{0}".format(googletest_version),
|
|
|
+ urls = ["https://github.com/google/googletest/archive/{0}.tar.gz".format(googletest_version)],
|
|
|
)
|
|
|
|
|
|
###############################################################################
|
|
|
@@ -91,8 +91,8 @@ benchmark_version = "1.6.1"
|
|
|
http_archive(
|
|
|
name = "com_github_google_benchmark",
|
|
|
sha256 = "6132883bc8c9b0df5375b16ab520fac1a85dc9e4cf5be59480448ece74b278d4",
|
|
|
- strip_prefix = "benchmark-%s" % benchmark_version,
|
|
|
- urls = ["https://github.com/google/benchmark/archive/refs/tags/v%s.tar.gz" % benchmark_version],
|
|
|
+ strip_prefix = "benchmark-{0}".format(benchmark_version),
|
|
|
+ urls = ["https://github.com/google/benchmark/archive/refs/tags/v{0}.tar.gz".format(benchmark_version)],
|
|
|
)
|
|
|
|
|
|
###############################################################################
|
|
|
@@ -112,8 +112,8 @@ http_archive(
|
|
|
"@carbon//bazel/llvm_patches:0002_Added_Bazel_build_for_compiler_rt_fuzzer.patch",
|
|
|
],
|
|
|
sha256 = "0a3929c5f2fe756820277be7b10e95f7480e7cb7f297ec574d3e9ddeac9068d7",
|
|
|
- strip_prefix = "llvm-project-%s" % llvm_version,
|
|
|
- urls = ["https://github.com/llvm/llvm-project/archive/%s.tar.gz" % llvm_version],
|
|
|
+ strip_prefix = "llvm-project-{0}".format(llvm_version),
|
|
|
+ urls = ["https://github.com/llvm/llvm-project/archive/{0}.tar.gz".format(llvm_version)],
|
|
|
)
|
|
|
|
|
|
load("@llvm-raw//utils/bazel:configure.bzl", "llvm_configure")
|
|
|
@@ -146,9 +146,8 @@ rules_m4_version = "0.2.1"
|
|
|
http_archive(
|
|
|
name = "rules_m4",
|
|
|
sha256 = "eaa674cd84546038ecbcc49cdd346134a20961a41fa1a541e80d8bf4b470c34d",
|
|
|
- strip_prefix = "rules_m4-%s" % rules_m4_version,
|
|
|
- urls = ["https://github.com/jmillikin/rules_m4/archive/v%s.tar.gz" %
|
|
|
- rules_m4_version],
|
|
|
+ strip_prefix = "rules_m4-{0}".format(rules_m4_version),
|
|
|
+ urls = ["https://github.com/jmillikin/rules_m4/archive/v{0}.tar.gz".format(rules_m4_version)],
|
|
|
)
|
|
|
|
|
|
load("@rules_m4//m4:m4.bzl", "m4_register_toolchains")
|
|
|
@@ -164,9 +163,8 @@ rules_flex_version = "1f1d9c306c2b4b8be2cb899a3364b84302124e77"
|
|
|
http_archive(
|
|
|
name = "rules_flex",
|
|
|
sha256 = "a4e99a0a241c8a5aa238e81724ea3529722522c3702fd3aa674add5eb9807002",
|
|
|
- strip_prefix = "rules_flex-%s" % rules_flex_version,
|
|
|
- urls = ["https://github.com/jmillikin/rules_flex/archive/%s.tar.gz" %
|
|
|
- rules_flex_version],
|
|
|
+ strip_prefix = "rules_flex-{0}".format(rules_flex_version),
|
|
|
+ urls = ["https://github.com/jmillikin/rules_flex/archive/{0}.tar.gz".format(rules_flex_version)],
|
|
|
)
|
|
|
|
|
|
load("@rules_flex//flex:flex.bzl", "flex_register_toolchains")
|
|
|
@@ -182,9 +180,8 @@ rules_bison_version = "478079b28605a38000eaf83719568d756b3383a0"
|
|
|
http_archive(
|
|
|
name = "rules_bison",
|
|
|
sha256 = "6bc2d382e4ffccd66e60a74521c24722fc8fdfe9af49ff182f79bb5994fa1ba4",
|
|
|
- strip_prefix = "rules_bison-%s" % rules_bison_version,
|
|
|
- urls = ["https://github.com/jmillikin/rules_bison/archive/%s.tar.gz" %
|
|
|
- rules_bison_version],
|
|
|
+ strip_prefix = "rules_bison-{0}".format(rules_bison_version),
|
|
|
+ urls = ["https://github.com/jmillikin/rules_bison/archive/{0}.tar.gz".format(rules_bison_version)],
|
|
|
)
|
|
|
|
|
|
load("@rules_bison//bison:bison.bzl", "bison_register_toolchains")
|
|
|
@@ -203,7 +200,7 @@ rules_cc_version = "0.0.1"
|
|
|
http_archive(
|
|
|
name = "rules_cc",
|
|
|
sha256 = "4dccbfd22c0def164c8f47458bd50e0c7148f3d92002cdb459c2a96a68498241",
|
|
|
- urls = ["https://github.com/bazelbuild/rules_cc/releases/download/%s/rules_cc-%s.tar.gz" % (rules_cc_version, rules_cc_version)],
|
|
|
+ urls = ["https://github.com/bazelbuild/rules_cc/releases/download/{0}/rules_cc-{0}.tar.gz".format(rules_cc_version)],
|
|
|
)
|
|
|
|
|
|
rules_proto_version = "4.0.0-3.20.0"
|
|
|
@@ -211,9 +208,9 @@ rules_proto_version = "4.0.0-3.20.0"
|
|
|
http_archive(
|
|
|
name = "rules_proto",
|
|
|
sha256 = "e017528fd1c91c5a33f15493e3a398181a9e821a804eb7ff5acdd1d2d6c2b18d",
|
|
|
- strip_prefix = "rules_proto-%s" % rules_proto_version,
|
|
|
+ strip_prefix = "rules_proto-{0}".format(rules_proto_version),
|
|
|
urls = [
|
|
|
- "https://github.com/bazelbuild/rules_proto/archive/refs/tags/%s.tar.gz" % rules_proto_version,
|
|
|
+ "https://github.com/bazelbuild/rules_proto/archive/refs/tags/{0}.tar.gz".format(rules_proto_version),
|
|
|
],
|
|
|
)
|
|
|
|
|
|
@@ -234,8 +231,8 @@ http_archive(
|
|
|
name = "com_google_libprotobuf_mutator",
|
|
|
build_file = "@//:third_party/libprotobuf_mutator/BUILD.txt",
|
|
|
sha256 = "0ce80217393fe6b01dac9818127e664801d865fefd708b98183181c0ed457878",
|
|
|
- strip_prefix = "libprotobuf-mutator-%s" % libprotobuf_mutator_version,
|
|
|
- urls = ["https://github.com/google/libprotobuf-mutator/archive/%s.tar.gz" % libprotobuf_mutator_version],
|
|
|
+ strip_prefix = "libprotobuf-mutator-{0}".format(libprotobuf_mutator_version),
|
|
|
+ urls = ["https://github.com/google/libprotobuf-mutator/archive/{0}.tar.gz".format(libprotobuf_mutator_version)],
|
|
|
)
|
|
|
|
|
|
###############################################################################
|