From 38203d2dbe4bf19f0bcc603768e4be1ecca4055f Mon Sep 17 00:00:00 2001 From: radex Date: Mon, 30 Aug 2021 18:49:24 +0200 Subject: [PATCH] *: update for M1 support preliminary pass to build site on an M1 Mac Change-Id: I89e6ac5874bbb8db92040ec98717fc0ed3ee4455 --- WORKSPACE | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/WORKSPACE b/WORKSPACE index 9d64674e..bb535aaa 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -9,9 +9,9 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file" # Load this as early as possible, to avoid a different version being pulled in by deps of something else http_archive( name = "com_google_protobuf", - sha256 = "bb8ce9ba11eb7bccf080599fe7cad9cc461751c8dd1ba61701c0070d58cde973", - strip_prefix = "protobuf-3.12.2", - urls = ["https://github.com/google/protobuf/archive/v3.12.2.tar.gz"], + sha256 = "c6003e1d2e7fefa78a3039f19f383b4f3a61e81be8c19356f85b6461998ad3db", + strip_prefix = "protobuf-3.17.3", + urls = ["https://github.com/google/protobuf/archive/v3.17.3.tar.gz"], ) load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") @@ -31,19 +31,19 @@ http_archive( # Download Go/Gazelle rules http_archive( name = "io_bazel_rules_go", - sha256 = "207fad3e6689135c5d8713e5a17ba9d1290238f47b9ba545b63d9303406209c6", + sha256 = "69de5c704a05ff37862f7e0f5534d4f479418afc21806c887db544a316f3cb6b", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.24.7/rules_go-v0.24.7.tar.gz", - "https://github.com/bazelbuild/rules_go/releases/download/v0.24.7/rules_go-v0.24.7.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.27.0/rules_go-v0.27.0.tar.gz", + "https://github.com/bazelbuild/rules_go/releases/download/v0.27.0/rules_go-v0.27.0.tar.gz", ], ) http_archive( name = "bazel_gazelle", - sha256 = "bfd86b3cbe855d6c16c6fce60d76bd51f5c8dbc9cfcaef7a2bb5c1aafd0710e8", + sha256 = "62ca106be173579c0a167deb23358fdfe71ffa1e4cfdddf5582af26520f1c66f", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.21.0/bazel-gazelle-v0.21.0.tar.gz", - "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.21.0/bazel-gazelle-v0.21.0.tar.gz", + "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", ], ) @@ -63,7 +63,7 @@ install_deps() # Setup Go toolchain. load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains") -go_register_toolchains() +go_register_toolchains(version = "1.17") # IMPORTANT: match protobuf version above with the one loaded by grpc http_archive(