4
4
# Track changes in folders referenced by copy_directory
5
5
startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1
6
6
7
- build --features=parse_headers
7
+ # build --features=parse_headers
8
8
#build --features=layering_check
9
9
10
10
# 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
26
26
build --experimental_convenience_symlinks=clean
27
27
28
28
build: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"
30
30
build:windows --copt="/Zc:strictStrings"
31
+ build:windows --copt="/Gy"
31
32
build:windows --host_linkopt="shell32.lib"
32
33
# Requires Visual Studio 2019 Build Tools installed in default location with the latest compiler (14.29.30133) for x64
33
34
build: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
51
52
# Does not yet compoile with the Developer command-line tools, needs clang from homebrew
52
53
#build:macos --action_env=/Library/Developer/CommandLineTools/usr/bin/clang
53
54
#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
57
58
58
59
# --config=asan : Address Sanitizer.
59
60
common:asan --copt -DADDRESS_SANITIZER
@@ -115,10 +116,6 @@ common --incompatible_modify_execution_info_additive
115
116
common --modify_execution_info=CppCompile=+supports-path-mapping
116
117
common --skip_incompatible_explicit_targets
117
118
118
- build --@curl//:use_mbedtls=true
119
- # build --@curl//:http_only=true
120
-
121
-
122
119
# build --experimental_save_feature_state
123
120
# saves .s and .ii files but tends to be super slow
124
121
# build --save_temps
@@ -129,12 +126,12 @@ mod --lockfile_mode=refresh
129
126
build:windows --config=clang-cl
130
127
131
128
# 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
+
132
133
build:clang-cl --host_platform=@otel_sdk//:x64_windows-clang-cl
133
134
build: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"
138
135
139
136
common --experimental_enable_android_migration_apis
140
137
@@ -145,6 +142,9 @@ startup --client_debug
145
142
146
143
common --flag_alias=dll=@otel_sdk//:with_dll
147
144
145
+ # disable GRPC experiments
146
+ build --define=grpc_experiments_are_final=true
147
+
148
148
## This is what my ../top.bazelrc contains (not in the repo as local to my machine)
149
149
# build --disk_cache=f:/b/d
150
150
# common --repository_cache=f:/b/r
0 commit comments