blob: 55fd1dc1584f511c6115231d7196c2fa17ee3ce0 [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
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