From 8a2c6010eec19ad88a838deafe37aa1d8841403a Mon Sep 17 00:00:00 2001 From: Mehrdad Afshari Date: Thu, 19 Apr 2018 01:41:26 -0400 Subject: Bump protobuf hash for Bazel --- bazel/grpc_deps.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bazel') diff --git a/bazel/grpc_deps.bzl b/bazel/grpc_deps.bzl index 00e313c71f..3c69a6bc52 100644 --- a/bazel/grpc_deps.bzl +++ b/bazel/grpc_deps.bzl @@ -85,8 +85,8 @@ def grpc_deps(): if "com_google_protobuf" not in native.existing_rules(): native.http_archive( name = "com_google_protobuf", - strip_prefix = "protobuf-2761122b810fe8861004ae785cc3ab39f384d342", - url = "https://github.com/google/protobuf/archive/2761122b810fe8861004ae785cc3ab39f384d342.tar.gz", + strip_prefix = "protobuf-b5fbb742af122b565925987e65c08957739976a7", + url = "https://github.com/google/protobuf/archive/b5fbb742af122b565925987e65c08957739976a7.tar.gz", ) if "com_github_google_googletest" not in native.existing_rules(): -- cgit v1.2.3 From 7f0a4ba0274dd00b290090f6b5474ba1ba14fbac Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Mon, 7 May 2018 20:05:23 +0200 Subject: bump boringssl-with-bazel to latest chromium-stable-with-bazel --- bazel/grpc_deps.bzl | 4 ++-- third_party/boringssl-with-bazel | 2 +- tools/run_tests/sanity/check_submodules.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'bazel') diff --git a/bazel/grpc_deps.bzl b/bazel/grpc_deps.bzl index 3c69a6bc52..1e3d83d06a 100644 --- a/bazel/grpc_deps.bzl +++ b/bazel/grpc_deps.bzl @@ -70,8 +70,8 @@ def grpc_deps(): if "boringssl" not in native.existing_rules(): native.http_archive( name = "boringssl", - # on the master-with-bazel branch - url = "https://boringssl.googlesource.com/boringssl/+archive/886e7d75368e3f4fab3f4d0d3584e4abfc557755.tar.gz", + # on the chromium-stable-with-bazel branch + url = "https://boringssl.googlesource.com/boringssl/+archive/dcd3e6e6ecddf059adb48fca45bc7346a108bdd9.tar.gz", ) if "com_github_madler_zlib" not in native.existing_rules(): diff --git a/third_party/boringssl-with-bazel b/third_party/boringssl-with-bazel index 886e7d7536..dcd3e6e6ec 160000 --- a/third_party/boringssl-with-bazel +++ b/third_party/boringssl-with-bazel @@ -1 +1 @@ -Subproject commit 886e7d75368e3f4fab3f4d0d3584e4abfc557755 +Subproject commit dcd3e6e6ecddf059adb48fca45bc7346a108bdd9 diff --git a/tools/run_tests/sanity/check_submodules.sh b/tools/run_tests/sanity/check_submodules.sh index 723d18565d..58041365b1 100755 --- a/tools/run_tests/sanity/check_submodules.sh +++ b/tools/run_tests/sanity/check_submodules.sh @@ -28,7 +28,7 @@ git submodule | awk '{ print $1 }' | sort > "$submodules" cat << EOF | awk '{ print $1 }' | sort > "$want_submodules" 5b7683f49e1e9223cf9927b24f6fd3d6bd82e3f8 third_party/benchmark (v1.2.0) a20bb7ff8bb5057065a2e7941249773f9676cf45 third_party/boringssl (heads/chromium-stable) - 886e7d75368e3f4fab3f4d0d3584e4abfc557755 third_party/boringssl-with-bazel (version_for_cocoapods_7.0-857-g886e7d7) + dcd3e6e6ecddf059adb48fca45bc7346a108bdd9 third_party/boringssl-with-bazel (version_for_cocoapods_10.0-369-gdcd3e6e6) 30dbc81fb5ffdc98ea9b14b1918bfe4e8779b26e third_party/gflags (v2.2.0) ec44c6c1675c25b9827aacd08c02433cccde7780 third_party/googletest (release-1.8.0) b5fbb742af122b565925987e65c08957739976a7 third_party/protobuf (v3.5.2) -- cgit v1.2.3 From b47e557d18dce857f639583ede6241586af5bc82 Mon Sep 17 00:00:00 2001 From: Adele Zhou Date: Mon, 14 May 2018 14:42:17 -0700 Subject: Apply Wframe-larger-than flag to opt builds only --- bazel/grpc_deps.bzl | 8 ++++---- tools/bazel.rc | 3 ++- tools/internal_ci/linux/grpc_ubsan_on_foundry.sh | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) (limited to 'bazel') diff --git a/bazel/grpc_deps.bzl b/bazel/grpc_deps.bzl index 1e3d83d06a..53073941f3 100644 --- a/bazel/grpc_deps.bzl +++ b/bazel/grpc_deps.bzl @@ -130,12 +130,12 @@ def grpc_deps(): if "com_github_bazelbuild_bazeltoolchains" not in native.existing_rules(): native.http_archive( name = "com_github_bazelbuild_bazeltoolchains", - strip_prefix = "bazel-toolchains-44200e0c026d86c53470d107b3697a3e46469c43", + strip_prefix = "bazel-toolchains-09c850dbb8e785ded3d23a7003e9a0168fe1fb2f", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/44200e0c026d86c53470d107b3697a3e46469c43.tar.gz", - "https://github.com/bazelbuild/bazel-toolchains/archive/44200e0c026d86c53470d107b3697a3e46469c43.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/archive/09c850dbb8e785ded3d23a7003e9a0168fe1fb2f.tar.gz", + "https://github.com/bazelbuild/bazel-toolchains/archive/09c850dbb8e785ded3d23a7003e9a0168fe1fb2f.tar.gz", ], - sha256 = "699b55a6916c687f4b7dc092dbbf5f64672cde0dc965f79717735ec4e5416556", + sha256 = "08e521cf2d0998e3d27a16c2e2542ebf4d3857b3ddadcfd145d128140754d7bd", ) # TODO: move some dependencies from "grpc_deps" here? diff --git a/tools/bazel.rc b/tools/bazel.rc index ed9169fc79..19e7921ca9 100644 --- a/tools/bazel.rc +++ b/tools/bazel.rc @@ -1,6 +1,7 @@ build --client_env=CC=clang build --copt -DGRPC_BAZEL_BUILD -build --copt -Wframe-larger-than=16384 + +build:opt --copt -Wframe-larger-than=16384 build:asan --strip=never build:asan --copt -fsanitize-coverage=edge diff --git a/tools/internal_ci/linux/grpc_ubsan_on_foundry.sh b/tools/internal_ci/linux/grpc_ubsan_on_foundry.sh index 0f71ff27cf..5c0e2df09d 100644 --- a/tools/internal_ci/linux/grpc_ubsan_on_foundry.sh +++ b/tools/internal_ci/linux/grpc_ubsan_on_foundry.sh @@ -50,13 +50,13 @@ source tools/internal_ci/helper_scripts/prepare_build_linux_rc --strategy=Closure=remote \ --genrule_strategy=remote \ --experimental_strict_action_env=true \ - --experimental_remote_platform_override='properties:{name:"container-image" value:"docker://gcr.io/cloud-marketplace/google/rbe-debian8@sha256:b2d946c1ddc20af250fe85cf98bd648ac5519131659f7c36e64184b433175a33" }' \ + --experimental_remote_platform_override='properties:{name:"container-image" value:"docker://gcr.io/cloud-marketplace/google/rbe-debian8@sha256:1ede2a929b44d629ec5abe86eee6d7ffea1d5a4d247489a8867d46cfde3e38bd" }' \ --define GRPC_PORT_ISOLATED_RUNTIME=1 \ --copt=-gmlt \ --strip=never \ --copt=-fsanitize=undefined \ --linkopt=-fsanitize=undefined \ - --crosstool_top=@com_github_bazelbuild_bazeltoolchains//configs/experimental/debian8_clang/0.3.0/bazel_0.10.0/ubsan:ubsan_experimental_toolchain \ + --crosstool_top=@com_github_bazelbuild_bazeltoolchains//configs/experimental/debian8_clang/0.3.0/bazel_0.12.0/ubsan:toolchain \ -- //test/... || FAILED="true" # Sleep to let ResultStore finish writing results before querying -- cgit v1.2.3