File tree 8 files changed +21
-13
lines changed
third_party/github.com/bazelbuild/bazel-toolchains/bazelrc
8 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- bazel : 4.0 .0
2
+ bazel : 4.1 .0
3
3
# Note, this will tell the user to do the wrong thing (manually run buildifer)
4
4
# See https://github.com/bazelbuild/continuous-integration/issues/1161
5
5
buildifier :
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ build --experimental_inprocess_symlink_creation
26
26
###############################
27
27
28
28
# Load default settings for Remote Build Execution.
29
- import %workspace%/third_party/github.com/bazelbuild/bazel-toolchains/bazelrc/bazel-0.28 .0.bazelrc
29
+ import %workspace%/third_party/github.com/bazelbuild/bazel-toolchains/bazelrc/bazel-4.1 .0.bazelrc
30
30
31
31
# Remote instance, borrow the one used by Angular devs
32
32
build:remote --remote_instance_name=projects/internal-200822/instances/default_instance
Original file line number Diff line number Diff line change 1
- 4.0 .0
1
+ 4.1 .0
Original file line number Diff line number Diff line change 7
7
# Cache action outputs on disk so they persist across output_base and bazel shutdown (eg. changing branches)
8
8
build --disk_cache=~/.cache/bazel-disk-cache
9
9
10
+ # Bazel picks up host-OS-specific config lines from bazelrc files
11
+ build --enable_platform_specific_config
12
+
10
13
# Bazel will create symlinks from the workspace directory to output artifacts.
11
14
# Build results will be placed in a directory called "dist/bin"
12
15
# Other directories will be created like "dist/testlogs"
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ def yarn_install(**kwargs):
86
86
# against.
87
87
# This version should be updated together with the version of the Bazel
88
88
# in .bazelversion. This is asserted in //internal:bazel_version_test.
89
- BAZEL_VERSION = "4.0 .0"
89
+ BAZEL_VERSION = "4.1 .0"
90
90
91
91
# Versions of Bazel which users should be able to use.
92
92
# Ensures we don't break backwards-compatibility,
Original file line number Diff line number Diff line change @@ -79,11 +79,11 @@ def rules_nodejs_dev_dependencies():
79
79
_maybe (
80
80
http_archive ,
81
81
name = "bazel_toolchains" ,
82
- sha256 = "1adf5db506a7e3c465a26988514cfc3971af6d5b3c2218925cd6e71ee443fc3f " ,
83
- strip_prefix = "bazel-toolchains-4.0 .0" ,
82
+ sha256 = "179ec02f809e86abf56356d8898c8bd74069f1bd7c56044050c2cd3d79d0e024 " ,
83
+ strip_prefix = "bazel-toolchains-4.1 .0" ,
84
84
urls = [
85
- "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/releases/download/4.0 .0/bazel-toolchains-4.0 .0.tar.gz" ,
86
- "https://github.com/bazelbuild/bazel-toolchains/releases/download/4.0 .0/bazel-toolchains-4.0 .0.tar.gz" ,
85
+ "https://mirror.bazel.build/github.com/bazelbuild/bazel-toolchains/releases/download/4.1 .0/bazel-toolchains-4.1 .0.tar.gz" ,
86
+ "https://github.com/bazelbuild/bazel-toolchains/releases/download/4.1 .0/bazel-toolchains-4.1 .0.tar.gz" ,
87
87
],
88
88
)
89
89
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ package(default_visibility = ["//visibility:public"])
24
24
bzl_library (
25
25
name = "bzl" ,
26
26
srcs = glob (["*.bzl" ]) + [
27
- # Work-around since we don't have and don't wnat a bzl_library in the generated
27
+ # Work-around since we don't have and don't want a bzl_library in the generated
28
28
# @nodejs//:BUILD.bazel file
29
29
"@nodejs//:index.bzl" ,
30
30
],
Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ build:remote --jobs=50
27
27
# properties.
28
28
# These flags should only be used as is for the rbe-ubuntu16-04 container
29
29
# and need to be adapted to work with other toolchain containers.
30
- build:remote --host_javabase=@rbe_default//java:jdk
31
- build:remote --javabase=@rbe_default//java:jdk
32
- build:remote --host_java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8
33
- build:remote --java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8
30
+ build:remote --java_runtime_version=rbe_jdk
31
+ build:remote --tool_java_runtime_version=rbe_jdk
32
+ build:remote --extra_toolchains=@rbe_default//java:all
33
+
34
34
build:remote --crosstool_top=@rbe_default//cc:toolchain
35
35
build:remote --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
36
36
# Platform flags:
@@ -49,6 +49,11 @@ build:remote --define=EXECUTOR=remote
49
49
# Enable remote execution so actions are performed on the remote systems.
50
50
build:remote --remote_executor=grpcs://remotebuildexecution.googleapis.com
51
51
52
+ # Enforce stricter environment rules, which eliminates some non-hermetic
53
+ # behavior and therefore improves both the remote cache hit rate and the
54
+ # correctness and repeatability of the build.
55
+ build:remote --incompatible_strict_action_env=true
56
+
52
57
# Set a higher timeout value, just in case.
53
58
build:remote --remote_timeout=3600
54
59
You can’t perform that action at this time.
0 commit comments