Nikhil Marathe | f8a94b9 | 2020-06-29 01:43:00 -0700 | [diff] [blame] | 1 | common --enable_platform_specific_config |
| 2 | |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 3 | # Shared configuration flags to build and test Bazel on RBE. |
| 4 | build:remote_shared --define=EXECUTOR=remote |
| 5 | build:remote_shared --remote_instance_name=projects/bazel-untrusted/instances/default_instance |
| 6 | build:remote_shared --remote_executor=grpcs://remotebuildexecution.googleapis.com |
| 7 | build:remote_shared --remote_timeout=600 |
| 8 | build:remote_shared --google_default_credentials |
| 9 | build:remote_shared --jobs=100 |
| 10 | build:remote_shared --action_env=PATH=/bin:/usr/bin:/usr/local/bin |
| 11 | build:remote_shared --disk_cache= |
Ivo List | bba4b34 | 2021-01-19 08:31:40 -0800 | [diff] [blame] | 12 | build:remote_shared --java_runtime_version=rbe_jdk |
| 13 | build:remote_shared --tool_java_runtime_version=rbe_jdk |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 14 | # Workaround for singlejar incompatibility with RBE |
| 15 | build:remote_shared --noexperimental_check_desugar_deps |
| 16 | |
| 17 | # Configuration to build and test Bazel on RBE on Ubuntu 18.04 with Java 11 |
Ivo List | bba4b34 | 2021-01-19 08:31:40 -0800 | [diff] [blame] | 18 | build:ubuntu1804_java11 --extra_toolchains=@rbe_ubuntu1804_java11//java:all |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 19 | build:ubuntu1804_java11 --crosstool_top=@rbe_ubuntu1804_java11//cc:toolchain |
| 20 | build:ubuntu1804_java11 --extra_toolchains=@rbe_ubuntu1804_java11//config:cc-toolchain |
| 21 | build:ubuntu1804_java11 --extra_execution_platforms=//:rbe_ubuntu1804_java11_platform |
| 22 | build:ubuntu1804_java11 --extra_execution_platforms=//:rbe_ubuntu1804_java11_highcpu_platform |
| 23 | build:ubuntu1804_java11 --host_platform=//:rbe_ubuntu1804_java11_platform |
| 24 | build:ubuntu1804_java11 --platforms=//:rbe_ubuntu1804_java11_platform |
| 25 | build:ubuntu1804_java11 --config=remote_shared |
| 26 | |
Siggi Simonarson | 47e0c5c | 2020-05-27 01:58:17 -0700 | [diff] [blame] | 27 | # Configuration to build and test Bazel on RBE on Ubuntu 16.04 with Java 8 |
Ivo List | bba4b34 | 2021-01-19 08:31:40 -0800 | [diff] [blame] | 28 | build:ubuntu1604_java8 --extra_toolchains=@rbe_ubuntu1604_java8//java:all |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 29 | build:ubuntu1604_java8 --crosstool_top=@rbe_ubuntu1604_java8//cc:toolchain |
| 30 | build:ubuntu1604_java8 --extra_toolchains=@rbe_ubuntu1604_java8//config:cc-toolchain |
| 31 | build:ubuntu1604_java8 --extra_execution_platforms=//:rbe_ubuntu1604_java8_platform |
| 32 | build:ubuntu1604_java8 --extra_execution_platforms=//:rbe_ubuntu1604_java8_highcpu_platform |
| 33 | build:ubuntu1604_java8 --host_platform=//:rbe_ubuntu1604_java8_platform |
| 34 | build:ubuntu1604_java8 --platforms=//:rbe_ubuntu1604_java8_platform |
| 35 | build:ubuntu1604_java8 --config=remote_shared |
| 36 | |
Ivo List | bba4b34 | 2021-01-19 08:31:40 -0800 | [diff] [blame] | 37 | #TODO(ilist): remove once Bazel version on RBE is > 4.0.0 |
| 38 | build:ubuntu1804_java11 --host_javabase=@rbe_ubuntu1804_java11//java:jdk |
| 39 | build:ubuntu1804_java11 --javabase=@rbe_ubuntu1804_java11//java:jdk |
| 40 | build:ubuntu1804_java11 --host_java_toolchain=@bazel_tools//tools/jdk:toolchain_java9 |
| 41 | build:ubuntu1804_java11 --java_toolchain=@bazel_tools//tools/jdk:toolchain_java9 |
| 42 | build:ubuntu1604_java8 --host_javabase=@rbe_ubuntu1604_java8//java:jdk |
| 43 | build:ubuntu1604_java8 --javabase=@rbe_ubuntu1604_java8//java:jdk |
| 44 | build:ubuntu1604_java8 --host_java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8 |
| 45 | build:ubuntu1604_java8 --java_toolchain=@bazel_tools//tools/jdk:toolchain_hostjdk8 |
| 46 | |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 47 | # Alias |
| 48 | build:remote --config=ubuntu1604_java8 |
| 49 | |
Nikhil Marathe | f8a94b9 | 2020-06-29 01:43:00 -0700 | [diff] [blame] | 50 | build:macos --macos_minimum_os=10.10 |
| 51 | |
John Millikin | 8e8e43e | 2019-10-31 07:39:40 -0700 | [diff] [blame] | 52 | # User-specific .bazelrc |
| 53 | try-import user.bazelrc |