forked from protocolbuffers/protobuf
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.bazelrc
More file actions
17 lines (12 loc) · 733 Bytes
/
Copy path.bazelrc
File metadata and controls
17 lines (12 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
common --enable_platform_specific_config
build:linux --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
build:macos --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
# Disable prebuilt protoc which doesn't work for tests at HEAD which do not
# have a published protoc prebuilt release
build --@com_google_protobuf//bazel/toolchains:prefer_prebuilt_protoc=false
common:windows --cxxopt=/std:c++17 --host_cxxopt=/std:c++17 --enable_runfiles
build --experimental_remote_cache_eviction_retries=5
build --remote_download_outputs=all
# Import Bazel 9 specific flags (such as --repo_contents_cache)
# TODO: Remove it when --repo_contents_cache issue has been resolved in bazel
try-import-if-bazel-version >=9.0.0 %workspace%/../ci/bazel9.bazelrc