44build --features=parse_headers
55build --features=layering_check
66
7- common --incompatible_use_plus_in_repo_names
8-
97# Don't try to build .so and .dylib shared libs (instead of static) libs on Linux/OSX
108# For some reason, with clang-cl, it also tried to do on Windows, where dynamic linking just does not support it.
119build --dynamic_mode=off
1210
13- build --experimental_cc_shared_library
14-
15- common --incompatible_disable_native_repo_rules
16-
1711common --noenable_workspace
1812common --remote_download_minimal
1913
2014# Avoid using c:\windows\system32\bash.exe
2115common:windows --shell_executable="c:\\program files\\git\\usr\\bin\\bash.exe"
2216
23- #common --noexperimental_merged_skyframe_analysis_execution
24-
2517common --nolegacy_external_runfiles
18+ build --nolegacy_important_outputs
19+
2620common --skip_incompatible_explicit_targets
2721
2822# Enable automatic configs based on platform
@@ -33,12 +27,10 @@ build --build_tag_filters=-jaeger,-opentracing,-opentracing_shim
3327test --test_tag_filters=-jaeger,-opentracing,-opentracing_shim
3428
3529build --experimental_convenience_symlinks=clean
36- build --experimental_cc_implementation_deps
3730
3831build:windows --copt="/Brepro" --copt="/guard:cf" --copt="/guard:ehcont" --copt="/Z7" --copt="/JMC-" --copt="/sdl"
39- build:windows --host_copt="/Brepro" --host_copt="/guard:cf" --host_copt="/guard:ehcont" --host_copt="/Z7" --host_copt="/JMC-" --host_copt="/sdl"
4032build:windows --linkopt="/Brepro" --linkopt="/guard:cf" --linkopt="/guard:ehcont" --linkopt="/DEBUG:FULL" --linkopt="/CETCOMPAT" --linkopt="/SWAPRUN:NET,CD" --linkopt="/OPT:REF,ICF" --linkopt="/RELEASE" --linkopt="/DEBUGTYPE:CV,PDATA,FIXUP"
41- build:windows --host_linkopt="/Brepro" --host_linkopt="/guard:cf" --host_linkopt="/guard:ehcont" --host_linkopt=" shell32.lib"
33+ build:windows --host_linkopt="shell32.lib"
4234# Requires Visual Studio 2019 Build Tools installed in default location with the latest compiler (14.29.30133) for x64
4335build:windows --action_env=BAZEL_VC_FULL_VERSION=14.29.30133 --action_env=BAZEL_WINSDK_FULL_VERSION=10.0.22621.0
4436build:windows --host_action_env=BAZEL_VC_FULL_VERSION=14.29.30133 --host_action_env=BAZEL_WINSDK_FULL_VERSION=10.0.22621.0
@@ -79,12 +71,6 @@ common:tsan --cc_output_directory_tag=tsan
7971# https://github.com/google/sanitizers/issues/953
8072common:tsan --test_env=TSAN_OPTIONS=report_atomic_races=0
8173
82- ## This is what my ../top.bazelrc contains (not in the repo as local to my machine)
83- # build --disk_cache=f:/b/d
84- # common --repository_cache=f:/b/r
85- # startup --output_user_root=f:/b/u
86- try-import %workspace%/../top.bazelrc
87-
8874test --test_size_filters=small,medium,large,enormous
8975test --test_timeout_filters=short,moderate,long,eternal
9076test --test_verbose_timeout_warnings
@@ -101,17 +87,18 @@ startup --windows_enable_symlinks
10187
10288# Ideally all of these should get uncommented for further bazel migrations
10389# This list was taken from here https://github.com/bazelbuild/bazel/releases/tag/7.0.0
90+ # common --incompatible_disable_starlark_host_transitions
91+ # common --incompatible_stop_exporting_language_modules
10492common --incompatible_auto_exec_groups
93+ common --incompatible_config_setting_private_default_visibility
94+ common --incompatible_disable_native_repo_rules
10595common --incompatible_disable_non_executable_java_binary
106- common --incompatible_disallow_struct_provider_syntax
10796common --incompatible_disable_target_provider_fields
108- common --incompatible_struct_has_no_methods
109- common --incompatible_config_setting_private_default_visibility
110- # common --incompatible_stop_exporting_language_modules
11197common --incompatible_disallow_empty_glob
112- # common --incompatible_disable_starlark_host_transitions
113-
114- build --nolegacy_important_outputs
98+ common --incompatible_disallow_struct_provider_syntax
99+ common --incompatible_strict_action_env
100+ common --incompatible_struct_has_no_methods
101+ common --incompatible_use_plus_in_repo_names
115102
116103build --@curl//:use_mbedtls=true
117104# build --@curl//:http_only=true
@@ -129,18 +116,21 @@ build:clang-cl --host_per_file_copt="protobuf\\+/.*@-Wno-invalid-offsetof"
129116build:clang-cl --per_file_copt="c-ares\\+/.*@-Wno-macro-redefined"
130117build:clang-cl --host_per_file_copt="c-ares\\+/.*@-Wno-macro-redefined"
131118
132- # LLVM 1. 19.1
119+ # LLVM 19.1.0
133120# opentelemetry/logs/logger.h(76,89):
134121# error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
135122# detail::LogRecordSetterTrait<typename std::decay<ArgumentType>::type>::template Set(
136123# ^
137124build:clang-cl --copt=-Wno-missing-template-arg-list-after-template-kw
138125
139- build --incompatible_strict_action_env
140-
141-
142126# still does not work yet
143127#common --incompatible_enable_proto_toolchain_resolution
144128
145129# allow newer protobuf to compile
146- common --experimental_google_legacy_api
130+ common --experimental_google_legacy_api
131+
132+ ## This is what my ../top.bazelrc contains (not in the repo as local to my machine)
133+ # build --disk_cache=f:/b/d
134+ # common --repository_cache=f:/b/r
135+ # startup --output_user_root=f:/b/u
136+ try-import %workspace%/../top.bazelrc
0 commit comments