Skip to content

Commit 7e1a389

Browse files
committed
removed some older incompatible options, enabled some newer ones
1 parent b4d5154 commit 7e1a389

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.bazelrc

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ build --features=parse_headers
1111
# For some reason, with clang-cl, it also tried to do on Windows, where dynamic linking just does not support it.
1212
build --dynamic_mode=off
1313

14-
common --noenable_workspace
1514
common --remote_download_minimal
1615

1716
# Avoid using c:\windows\system32\bash.exe
1817
common:windows --shell_executable="c:\\program files\\git\\usr\\bin\\bash.exe"
1918

20-
common --nolegacy_external_runfiles
2119
build --nolegacy_important_outputs
2220

2321
common --skip_incompatible_explicit_targets
@@ -88,7 +86,7 @@ mod --charset=ascii
8886

8987
# This doesn't work with
9088
# ../com_github_opentelemetry_proto/opentelemetry/proto/collector/metrics/v1/metrics_service.proto: File does not reside within any path specified using --proto_path (or -I). You must specify a --proto_path which encompasses this file. Note that the proto_path must be a
91-
# common --experimental_sibling_repository_layout
89+
#common --experimental_sibling_repository_layout
9290

9391
common --nobuild_runfile_links
9492
startup --windows_enable_symlinks
@@ -101,14 +99,10 @@ common --incompatible_auto_exec_groups
10199
common --incompatible_config_setting_private_default_visibility
102100
common --incompatible_disable_native_repo_rules
103101
common --incompatible_disable_non_executable_java_binary
104-
# For jetbrains bazel plugin
102+
#common --incompatible_disable_target_default_provider_fields
105103
common --incompatible_disable_target_provider_fields
106-
common --incompatible_disallow_empty_glob
107104
common --incompatible_disallow_struct_provider_syntax
108105
common --incompatible_strict_action_env
109-
# Enabled for the experimental JetBrains bazel plugin
110-
# common --incompatible_struct_has_no_methods
111-
common --incompatible_use_plus_in_repo_names
112106
# common --incompatible_use_host_features
113107
common --modify_execution_info=CppCompile=+supports-path-mapping
114108
common --legacy_important_outputs=false
@@ -138,10 +132,24 @@ build:clang-cl --host_per_file_copt="c-ares\\+/.*@-Wno-macro-redefined"
138132

139133
# allow newer protobuf to compile
140134
common --experimental_google_legacy_api
135+
common --experimental_enable_android_migration_apis
141136

142137
common:linux --force_pic
143138
common:macos --force_pic
144139

140+
startup --client_debug
141+
common --experimental_repository_cache_hardlinks
142+
common --incompatible_enable_proto_toolchain_resolution
143+
#common --experimental_disable_external_package
144+
common --experimental_platforms_api
145+
common --incompatible_fail_on_unknown_attributes
146+
common --incompatible_merge_fixed_and_default_shell_env
147+
common --incompatible_no_implicit_file_export
148+
#common --incompatible_no_rule_outputs_param
149+
#common --incompatible_stop_exporting_language_modules
150+
common --incompatible_top_level_aspects_require_providers
151+
common --incompatible_use_cc_configure_from_rules_cc
152+
145153
## This is what my ../top.bazelrc contains (not in the repo as local to my machine)
146154
# build --disk_cache=f:/b/d
147155
# common --repository_cache=f:/b/r

0 commit comments

Comments
 (0)