forked from bon-cdp/f2chat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bazelrc
More file actions
30 lines (23 loc) · 791 Bytes
/
Copy path.bazelrc
File metadata and controls
30 lines (23 loc) · 791 Bytes
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
# f2chat Bazel Configuration
# Polynomial routing with sheaf-wreath attention
# C++20 with strict warnings
build --cxxopt=-std=c++20
build --cxxopt=-Wall
build --cxxopt=-Wextra
build --cxxopt=-Werror
# Suppress GCC false positives in Abseil (known issue with InlinedVector)
build --cxxopt=-Wno-unknown-warning-option
build --cxxopt=-Wno-error=maybe-uninitialized
# No exceptions needed (pure polynomial algebra, no OpenFHE)
build --cxxopt=-fno-exceptions
# Optimization with debug symbols
build --cxxopt=-O2
build --cxxopt=-g
# Fast math for polynomial operations
# build --cxxopt=-ffast-math
# Test configuration
test --test_output=errors
test --test_summary=detailed
# Address sanitizer (for debugging)
build:asan --cxxopt=-fsanitize=address
build:asan --linkopt=-fsanitize=address