You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by ni...@apache.org on 2020/04/09 15:19:38 UTC

[incubator-heron] 01/02: Updated for Bazel 3.0.0

This is an automated email from the ASF dual-hosted git repository.

nicknezis pushed a commit to branch nicknezis/bazel-2
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git

commit 0be70b8644d1170dc0e9c6db84bdb10c55a04efb
Author: Nicholas Nezis <ni...@gmail.com>
AuthorDate: Wed Apr 8 16:04:13 2020 -0400

    Updated for Bazel 3.0.0
---
 tools/docker/bazel.rc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/docker/bazel.rc b/tools/docker/bazel.rc
index f6bb4ea..26d0445 100644
--- a/tools/docker/bazel.rc
+++ b/tools/docker/bazel.rc
@@ -28,7 +28,8 @@ test --test_strategy=standalone
 # Workaround https://github.com/bazelbuild/bazel/issues/3645
 # Bazel doesn't calculate the memory ceiling correctly when running under Docker.
 # Limit Bazel to consuming 4G ram and 2 cores.
-build --local_resources=4096,2.0,1.0
+build --local_ram_resources=4096
+build --local_cpu_resources=2
 
 # Echo all the configuration settings and their source
  build --announce_rc
\ No newline at end of file