forked from valkey-io/valkey-search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bazelrc
63 lines (53 loc) · 1.65 KB
/
.bazelrc
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
build --cxxopt=-std=c++20
build --copt=-fPIC
build --jobs=auto
build --copt=-DBAZEL_BUILD
build --copt=-Wno-unknown-pragmas
build --copt=-falign-functions=5
build --copt=-fmath-errno
build --copt=-ffp-contract=off
build --copt=-fno-rounding-math
build --copt=-maes
build --copt=-mcx16
build --copt=-msse4.2
build --copt=-mpclmul
build --copt=-mprfchw
build --copt=-mavx
build --copt=-mtune=generic
build --copt=-gdwarf-5
build --copt=-gz=zlib
build --copt=-ffast-math
build --copt=-funroll-loops
build --copt=-ftree-vectorize
build --copt=-fopenmp
build --copt=-mavx2
build --copt=-mfma
#build --copt=-Werror
build --copt=-ffp-contract=off
build --copt=-flax-vector-conversions
build:debug --copt=-O0 --copt=-fno-omit-frame-pointer --copt=-DNDEBUG
#build -c opt
test --copt=-O1
test --compilation_mode=fastbuild
# Suppress external/third_party warnings
build --per_file_copt=external/.*@-w
build --host_per_file_copt=external/.*@-w
build --per_file_copt=third_party/.*@-w
build --host_per_file_copt=third_party/.*@-w
build --per_file_copt=testing/.*@-Wno-overloaded-virtual
build --host_per_file_copt=testing/.*@-Wno-overloaded-virtual
# Suppress some warnings
build --copt=-Wno-sign-compare
build --copt=-Wno-uninitialized
build --copt=-Wno-nan-infinity-disabled
build --copt=-Wno-unknown-warning-option
build --copt=-Wno-unused-command-line-argument
build --cxxopt=-Wno-missing-requires
try-import .bazelrc_local
build:lto --copt=-flto=auto
build:lto --linkopt=-flto
build:gcc --cxxopt=-Wno-comment
build:clang --cxxopt=-stdlib=libc++ --cxxopt=-lc++abi
build:clang --linkopt=-stdlib=libc++
build --action_env=CC=/usr/bin/clang-17
build --action_env=CXX=/usr/bin/clang++-17