blob: 840130196c09b9ebfdea008ab6282fa8fb947b42 [file]
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
# 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%/../bazel9.bazelrc
# CI specific configs
build:ci --experimental_remote_cache_eviction_retries=5
build:ci --remote_download_outputs=all