summaryrefslogtreecommitdiff
path: root/.bazelrc
blob: 9d5ebf65d7190135764c4143f24dc24bc2140507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
common --registry=https://bcr.bazel.build/
common --registry=https://bazel.stevenlr.com/registry/

build --enable_platform_specific_config

build:windows  --extra_execution_platforms=//:x64_windows-clang-cl
build:windows  --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl

build:windows  --cxxopt=-Xclang=-std=c++23

common --incompatible_autoload_externally=+@rules_python

build --features=external_include_paths

build --cxxopt=-Wall
build --cxxopt=-Wno-c++98-compat
build --cxxopt=-Wno-c++98-compat-pedantic
build --cxxopt=-Wno-pre-c++17-compat
build --cxxopt=-Wno-c++20-compat
build --cxxopt=-Wno-unused-macros
build --cxxopt=-Wno-documentation-unknown-command
build --cxxopt=-Wno-extra-semi-stmt
build --cxxopt=-Wno-extra-semi
build --cxxopt=-Wno-global-constructors
build --cxxopt=-Wno-unsafe-buffer-usage
build --cxxopt=-Wno-covered-switch-default

build:windows_san --config=windows
build:windows_san --copt=-fno-sanitize-ignorelist
build:windows_san --copt=-fsanitize=address
build:windows_san --copt=-fsanitize=undefined
build:windows_san --copt=-fno-sanitize-recover=all
build:windows_san --linkopt=clang_rt.asan-x86_64.lib
build:windows_san --copt=/MT

test --test_output=errors