@@ -16,8 +16,6 @@ common --remote_download_minimal
1616# Avoid using c:\windows\system32\bash.exe
1717common:windows --shell_executable="c:\\program files\\git\\usr\\bin\\bash.exe"
1818
19- common --skip_incompatible_explicit_targets
20-
2119# Enable automatic configs based on platform
2220common --enable_platform_specific_config
2321common --enable_runfiles
@@ -89,20 +87,30 @@ mod --charset=ascii
8987common --nobuild_runfile_links
9088startup --windows_enable_symlinks
9189
92- # Ideally all of these should get uncommented for further bazel migrations
93- # This list was taken from here https://github.com/bazelbuild/bazel/releases/tag/7.0.0
90+ # common --experimental_disable_external_package
9491# common --incompatible_disable_starlark_host_transitions
92+ # common --incompatible_disable_target_default_provider_fields
93+ # common --incompatible_no_rule_outputs_param
9594# common --incompatible_stop_exporting_language_modules
95+ # common --incompatible_use_host_features
96+ common --experimental_platforms_api
97+ common --experimental_repository_cache_hardlinks
9698common --incompatible_auto_exec_groups
9799common --incompatible_config_setting_private_default_visibility
98100common --incompatible_disable_native_repo_rules
99101common --incompatible_disable_non_executable_java_binary
100- #common --incompatible_disable_target_default_provider_fields
101102common --incompatible_disable_target_provider_fields
102103common --incompatible_disallow_struct_provider_syntax
104+ common --incompatible_enable_proto_toolchain_resolution
105+ common --incompatible_fail_on_unknown_attributes
106+ common --incompatible_merge_fixed_and_default_shell_env
107+ common --incompatible_no_implicit_file_export
103108common --incompatible_strict_action_env
104- # common --incompatible_use_host_features
109+ common --incompatible_top_level_aspects_require_providers
110+ common --incompatible_use_cc_configure_from_rules_cc
111+
105112common --modify_execution_info=CppCompile=+supports-path-mapping
113+ common --skip_incompatible_explicit_targets
106114
107115build --@curl//:use_mbedtls=true
108116# build --@curl//:http_only=true
@@ -120,13 +128,6 @@ build:clang-cl --host_per_file_copt="protobuf\\+/.*@-Wno-invalid-offsetof"
120128build:clang-cl --per_file_copt="c-ares\\+/.*@-Wno-macro-redefined"
121129build:clang-cl --host_per_file_copt="c-ares\\+/.*@-Wno-macro-redefined"
122130
123- # LLVM 19.1.0
124- # opentelemetry/logs/logger.h(76,89):
125- # error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
126- # detail::LogRecordSetterTrait<typename std::decay<ArgumentType>::type>::template Set(
127- # ^
128- #build:clang-cl --copt=-Wno-missing-template-arg-list-after-template-kw
129-
130131# allow newer protobuf to compile
131132common --experimental_google_legacy_api
132133common --experimental_enable_android_migration_apis
@@ -135,22 +136,9 @@ common:linux --force_pic
135136common:macos --force_pic
136137
137138startup --client_debug
138- common --experimental_repository_cache_hardlinks
139- common --incompatible_enable_proto_toolchain_resolution
140- #common --experimental_disable_external_package
141- common --experimental_platforms_api
142- common --incompatible_fail_on_unknown_attributes
143- common --incompatible_merge_fixed_and_default_shell_env
144- common --incompatible_no_implicit_file_export
145- #common --incompatible_no_rule_outputs_param
146- #common --incompatible_stop_exporting_language_modules
147- common --incompatible_top_level_aspects_require_providers
148- common --incompatible_use_cc_configure_from_rules_cc
149139
150140## This is what my ../top.bazelrc contains (not in the repo as local to my machine)
151141# build --disk_cache=f:/b/d
152142# common --repository_cache=f:/b/r
153143# startup --output_user_root=f:/b/u
154144try-import %workspace%/../top.bazelrc
155-
156-
0 commit comments