Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,25 @@ common --announce_rc
common --experimental_repo_remote_exec
common --verbose_failures

# Default build options
build --copt -std=c++17
build --copt -D_GLIBCXX_USE_CXX11_ABI=1
# C++ language selection. The variants are needed because MS Visual Studio on
# Windows uses slightly different syntax.
common --enable_platform_specific_config

build:linux --copt=-std=c++17
build:linux --cxxopt=-std=c++17

build:macos --copt=-std=c++17
build:macos --cxxopt=-std=c++17

build:windows --copt=/std:c++17
build:windows --cxxopt=/std:c++17

build --copt=-D_GLIBCXX_USE_CXX11_ABI=1
build --cxxopt=-D_GLIBCXX_USE_CXX11_ABI=1

# Test flags
test --test_output=errors
test --test_timeout=600

# CUDA options
build:cuda --@local_config_cuda//:enable_cuda
Expand Down
Loading