44# Track changes in folders referenced by copy_directory
55startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1
66
7- build --features=parse_headers
7+ # build --features=parse_headers
88#build --features=layering_check
99
1010# Don't try to build .so and .dylib shared libs (instead of static) libs on Linux/OSX
@@ -26,8 +26,9 @@ test --test_tag_filters=-jaeger,-opentracing,-opentracing_shim
2626build --experimental_convenience_symlinks=clean
2727
2828build:windows --copt="/Brepro" --copt="/guard:cf" --copt="/guard:ehcont" --copt="/Z7" --copt="/JMC-" --copt="/sdl"
29- build: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"
29+ build:windows --linkopt="/Brepro" --linkopt="/guard:cf" --linkopt="/guard:ehcont" --linkopt="/DEBUG:FULL" --linkopt="/CETCOMPAT" --linkopt="/SWAPRUN:NET,CD" --linkopt="/OPT:REF,NOICF " --linkopt="/RELEASE" --linkopt="/DEBUGTYPE:CV,PDATA,FIXUP"
3030build:windows --copt="/Zc:strictStrings"
31+ build:windows --copt="/Gy"
3132build:windows --host_linkopt="shell32.lib"
3233# Requires Visual Studio 2019 Build Tools installed in default location with the latest compiler (14.29.30133) for x64
3334build:windows --action_env=BAZEL_VC_FULL_VERSION=14.29.30133 --action_env=BAZEL_WINSDK_FULL_VERSION=10.0.22621.0
@@ -51,9 +52,9 @@ build:macos --strip=never --copt=-g --cxxopt=-g
5152# Does not yet compoile with the Developer command-line tools, needs clang from homebrew
5253#build:macos --action_env=/Library/Developer/CommandLineTools/usr/bin/clang
5354#build:macos --host_action_env=/Library/Developer/CommandLineTools/usr/bin/clang
54- build:macos --action_env=CC=/opt/homebrew/bin/clang
55- build:macos --host_action_env=CC=/opt/homebrew/bin/clang
56- build:macos --apple_generate_dsym --output_groups=+dsyms
55+ build:macos --action_env=CC=/opt/homebrew/opt/llvm/ bin/clang
56+ build:macos --host_action_env=CC=/opt/homebrew/opt/llvm/ bin/clang
57+ # build:macos --apple_generate_dsym --output_groups=+dsyms
5758
5859# --config=asan : Address Sanitizer.
5960common:asan --copt -DADDRESS_SANITIZER
@@ -115,10 +116,6 @@ common --incompatible_modify_execution_info_additive
115116common --modify_execution_info=CppCompile=+supports-path-mapping
116117common --skip_incompatible_explicit_targets
117118
118- build --@curl//:use_mbedtls=true
119- # build --@curl//:http_only=true
120-
121-
122119# build --experimental_save_feature_state
123120# saves .s and .ii files but tends to be super slow
124121# build --save_temps
@@ -129,12 +126,12 @@ mod --lockfile_mode=refresh
129126build:windows --config=clang-cl
130127
131128# See MODULE.bazel where we've disabled the platform/toolchain setup, but made it back here
129+ build:clang-cl --host_copt=-Wno-dynamic-class-memaccess --copt=-Wno-dynamic-class-memaccess
130+ build:clang-cl --host_copt=-Wno-microsoft-cast --copt=-Wno-microsoft-cast
131+ build:clang-cl --host_copt=-Wno-invalid-offsetof --copt=-Wno-invalid-offsetof
132+
132133build:clang-cl --host_platform=@otel_sdk//:x64_windows-clang-cl
133134build:clang-cl --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl
134- build:clang-cl --per_file_copt="protobuf\\+/.*@-Wno-invalid-offsetof"
135- build:clang-cl --host_per_file_copt="protobuf\\+/.*@-Wno-invalid-offsetof"
136- build:clang-cl --per_file_copt="c-ares\\+/.*@-Wno-macro-redefined"
137- build:clang-cl --host_per_file_copt="c-ares\\+/.*@-Wno-macro-redefined"
138135
139136common --experimental_enable_android_migration_apis
140137
@@ -145,6 +142,9 @@ startup --client_debug
145142
146143common --flag_alias=dll=@otel_sdk//:with_dll
147144
145+ # disable GRPC experiments
146+ build --define=grpc_experiments_are_final=true
147+
148148## This is what my ../top.bazelrc contains (not in the repo as local to my machine)
149149# build --disk_cache=f:/b/d
150150# common --repository_cache=f:/b/r
0 commit comments