Skip to content

Commit a869762

Browse files
committed
build: use bazel automatic execution strategy selection
* Switches our bazel setup to use the new bazel automatic strategy selection.
1 parent d5d7db4 commit a869762

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.bazelrc

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,6 @@ test --test_output=errors
3636
# See https://docs.bazel.build/versions/master/user-manual.html#flag--workspace_status_command
3737
build:release --workspace_status_command="node ./tools/bazel-stamp-vars.js"
3838

39-
###############################
40-
# Typescript / Angular / Sass #
41-
###############################
42-
43-
# Make compilation fast, by keeping a few copies of the compilers
44-
# running as daemons, and cache SourceFile AST's to reduce parse time.
45-
build --strategy=TypeScriptCompile=worker
46-
build --strategy=AngularTemplateCompile=worker
47-
build --strategy=SassCompiler=worker
48-
4939
################################
5040
# Temporary Settings for Ivy #
5141
################################
@@ -62,12 +52,7 @@ build --define=compile=legacy
6252
build:remote --remote_instance_name=projects/internal-200822/instances/default_instance
6353
build:remote --project_id=internal-200822
6454

65-
# Setup the build strategy for various types of actions. Mixing "local" and "remote"
66-
# can cause unexpected results and we want to run everything remotely if possible.
67-
build:remote --spawn_strategy=remote,local
68-
build:remote --strategy=Javac=remote
69-
build:remote --strategy=Closure=remote
70-
build:remote --strategy=Genrule=remote
55+
# Needed due to: https://github.com/bazelbuild/bazel/issues/7254
7156
build:remote --define=EXECUTOR=remote
7257

7358
# Setup the remote build execution servers.

0 commit comments

Comments
 (0)