File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,12 +19,25 @@ common --announce_rc
1919common --experimental_repo_remote_exec
2020common --verbose_failures
2121
22- # Default build options
23- build --copt -std=c++17
24- build --copt -D_GLIBCXX_USE_CXX11_ABI=1
22+ # C++ language selection. The variants are needed because MS Visual Studio on
23+ # Windows uses slightly different syntax.
24+ common --enable_platform_specific_config
25+
26+ build:linux --copt=-std=c++17
27+ build:linux --cxxopt=-std=c++17
28+
29+ build:macos --copt=-std=c++17
30+ build:macos --cxxopt=-std=c++17
31+
32+ build:windows --copt=/std:c++17
33+ build:windows --cxxopt=/std:c++17
34+
35+ build --copt=-D_GLIBCXX_USE_CXX11_ABI=1
36+ build --cxxopt=-D_GLIBCXX_USE_CXX11_ABI=1
2537
2638# Test flags
2739test --test_output=errors
40+ test --test_timeout=600
2841
2942# CUDA options
3043build:cuda --@local_config_cuda//:enable_cuda
You can’t perform that action at this time.
0 commit comments