forked from google-deepmind/reverb
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.bazelrc
32 lines (23 loc) · 1.02 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
# gRPC using libcares in opensource has some issues.
build --define=grpc_no_ares=true
# Suppress all warning messages.
build:short_logs --output_filter=DONT_MATCH_ANYTHING
build --copt="-fvisibility=hidden"
# Force python3
build --action_env=PYTHON_BIN_PATH=python3
build --repo_env=PYTHON_BIN_PATH=python3
build --python_path=python3
build:manylinux2014 --crosstool_top=//third_party/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2014:toolchain
build -c opt
build --cxxopt="-std=c++17"
build --host_cxxopt="-std=c++17"
build --auto_output_filter=subpackages
build --action_env MACOSX_DEPLOYMENT_TARGET=10.14
# We build with AVX and eigen byte alignment to match tensorflow's (and Eigen)
# pip package byte alignment. See b/186669968 for more details.
build --copt=-DEIGEN_MAX_ALIGN_BYTES=64
# TF isn't built in dbg mode, so our dbg builds will segfault due to inconsistency
# of defines when using tf's headers. In particular in refcount.h.
build --cxxopt="-DNDEBUG"
# Options from ./configure
try-import %workspace%/.reverb.bazelrc