blob: 83cfd48d658901a84054048bdfa9d23035e82ae9 [file] [log] [blame]
# Until we have migrated all deps out of WORKSPACE file, we need to continue to use it.
# Starting with bazel 8, this flag flips to default false.
common --enable_workspace
# Runfiles are needed by several tests. Typically these are defaulted on for
# non-Windows platforms.
build --enable_runfiles
# Use the default C++ toolchain to build the tools used during the
# build.
build --host_crosstool_top=@bazel_tools//tools/cpp:toolchain
build --enable_platform_specific_config
# Platform specific configuration.
build:linux --linkopt=-lm
build:linux --cxxopt=-std=c++20
build:linux --cxxopt=-Wno-sign-compare
build:macos --macos_minimum_os=12.0
build:macos --linkopt=-lm
build:macos --cxxopt=-std=c++20
build:macos --cxxopt=-Wno-sign-compare
build:windows --cxxopt=/std:c++20
startup --windows_enable_symlinks