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 | |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 27 | # Alias |
philwo | c406da0 | 2021-10-21 09:22:35 -0700 | [diff] [blame] | 28 | build:remote --config=ubuntu1804_java11 |
Jakob Buchgraber | 60df905 | 2019-07-11 06:08:00 -0700 | [diff] [blame] | 29 | |
Nikhil Marathe | f8a94b9 | 2020-06-29 01:43:00 -0700 | [diff] [blame] | 30 | build:macos --macos_minimum_os=10.10 |
| 31 | |
Yun Peng | 89ea68b | 2021-11-23 11:24:51 -0800 | [diff] [blame] | 32 | # Enable Bzlmod |
| 33 | build:bzlmod --experimental_enable_bzlmod |
| 34 | # TODO(pcloudy): The following should be removed after fixing https://github.com/bazelbuild/bazel/issues/14279 |
| 35 | build:bzlmod --crosstool_top=@rules_cc.0.0.1.cc_configure.local_config_cc//:toolchain |
| 36 | build:bzlmod --xcode_version_config=@rules_cc.0.0.1.cc_configure.local_config_xcode//:host_xcodes |
| 37 | |
cushon | 0c65082 | 2022-01-18 08:26:40 -0800 | [diff] [blame] | 38 | # Enable Java 11 language features (https://github.com/bazelbuild/bazel/issues/14592) |
cushon | 0c65082 | 2022-01-18 08:26:40 -0800 | [diff] [blame] | 39 | build --java_language_version=11 |
| 40 | build --tool_java_language_version=11 |
cushon | 0c65082 | 2022-01-18 08:26:40 -0800 | [diff] [blame] | 41 | |
John Millikin | 8e8e43e | 2019-10-31 07:39:40 -0700 | [diff] [blame] | 42 | # User-specific .bazelrc |
| 43 | try-import user.bazelrc |