Skip to content

Commit

Permalink
use bazel 6.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
chaokunyang committed Nov 21, 2023
1 parent c5f2e07 commit 9e15729
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
20 changes: 13 additions & 7 deletions bazel/fury_deps_setup.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,14 @@ def auto_http_archive(
)

def setup_deps():
auto_http_archive(
# Fix @platforms error, see https://groups.google.com/g/bazel-discuss/c/iQyt08ZaNek
http_archive(
name = "bazel_skylib",
strip_prefix = None,
url = "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz",
sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44",
sha256 = "74d544d96f4a5bb630d465ca8bbcfe231e3594e5aae57e1edbf17a6eb3ca2506",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.3.0/bazel-skylib-1.3.0.tar.gz",
],
)
http_archive(
name = "rules_python",
Expand Down Expand Up @@ -150,6 +153,9 @@ def setup_deps():
)
auto_http_archive(
name = "com_google_absl",
url = "https://github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz",
sha256 = "dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4",
)
sha256 = "5366d7e7fa7ba0d915014d387b66d0d002c03236448e1ba9ef98122c13b35c36",
strip_prefix = "abseil-cpp-20230125.3",
urls = [
"https://github.com/abseil/abseil-cpp/archive/20230125.3.tar.gz",
],
)
3 changes: 2 additions & 1 deletion ci/run_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ install_bazel() {
echo "existing bazel location $(which bazel)"
echo "existing bazel version $(bazel version)"
fi
URL="https://github.com/bazelbuild/bazel/releases/download/4.2.0/bazel-4.2.0-installer-linux-x86_64.sh"
# GRPC support bazel 6.3.2 https://grpc.github.io/grpc/core/md_doc_bazel_support.html
URL="https://github.com/bazelbuild/bazel/releases/download/4.2.0/bazel-6.3.2-installer-linux-x86_64.sh"
wget -q -O install.sh $URL
chmod +x install.sh
set +x
Expand Down

0 comments on commit 9e15729

Please sign in to comment.