@@ -39,3 +39,32 @@ build:cross:linux_arm --config=repo_infra_crosstool --platforms=@io_bazel_rules_
39
39
build:cross:linux_arm64 --config=repo_infra_crosstool --platforms=@io_bazel_rules_go//go/toolchain:linux_arm64 --cpu=arm64
40
40
build:cross:linux_ppc64le --config=repo_infra_crosstool --platforms=@io_bazel_rules_go//go/toolchain:linux_ppc64le --cpu=ppc64le
41
41
build:cross:linux_s390x --config=repo_infra_crosstool --platforms=@io_bazel_rules_go//go/toolchain:linux_s390x --cpu=s390x
42
+
43
+ # --config=remote-cache enables a remote bazel cache
44
+ # Note needs a --remote_instance_name=projects/PROJ/instances/default_instance flag
45
+ build:remote-cache --remote_cache=remotebuildexecution.googleapis.com
46
+ build:remote-cache --tls_enabled=true
47
+ build:remote-cache --remote_timeout=3600
48
+ build:remote-cache --auth_enabled=true
49
+
50
+ # --config=remote adds remote execution to the --config=remote-cache
51
+ # Note needs a --remote_instance_name=projects/PROJ/instances/default_instance flag
52
+ build:remote --config=remote-cache
53
+ build:remote --remote_executor=remotebuildexecution.googleapis.com
54
+ build:remote --jobs=500
55
+ build:remote --host_javabase=@rbe_default//java:jdk
56
+ build:remote --javabase=@rbe_default//java:jdk
57
+ build:remote --host_java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8
58
+ build:remote --java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8
59
+ build:remote --crosstool_top=@rbe_default//cc:toolchain
60
+ build:remote --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
61
+ build:remote --extra_toolchains=@rbe_default//config:cc-toolchain
62
+ build:remote --extra_execution_platforms=:rbe_with_network
63
+ build:remote --host_platform=:rbe_with_network
64
+ build:remote --platforms=:rbe_with_network
65
+ build:remote --spawn_strategy=remote
66
+ build:remote --strategy=Javac=remote
67
+ build:remote --strategy=Closure=remote
68
+ build:remote --strategy=Genrule=remote
69
+ build:remote --define=EXECUTOR=remote
70
+
0 commit comments