forked from google/sentencepiece
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bazelrc
42 lines (27 loc) · 1.05 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
############################################################################
# All default build options below.
# Sets the default Apple platform to macOS.
build --apple_platform_type=macos
build --macos_minimum_os=10.14
# Make Bazel print out all options from rc files.
build --announce_rc
build --define open_source_build=true
build --spawn_strategy=standalone
build --enable_platform_specific_config
build --experimental_cc_shared_library
# Disable enabled-by-default TensorFlow features that we don't care about.
build --define=no_aws_support=true
build --define=no_gcp_support=true
build --define=no_hdfs_support=true
build --define=no_kafka_support=true
build --define=no_ignite_support=true
build --define=grpc_no_ares=true
build --define=tsl_link_protobuf=true
build -c opt
build --copt=-DMLIR_PYTHON_PACKAGE_PREFIX=jaxlib.mlir.
build --check_visibility=false
###########################################################################
build --copt=-fvisibility=hidden
build --copt=-Wno-sign-compare
build --cxxopt=-std=c++17
build --host_cxxopt=-std=c++17