forked from opennetworkinglab/onos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bazelrc
35 lines (28 loc) · 1.33 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
# By default, we build and run ONOS using the Bazel-provided remote JDK. The
# specific JDK version is defined in tools/build/jdk/BUILD.
#
# If you prefer to use your locally installed JDK, replace the --javabase and
# --host_javabase arguments with the following lines. ABSOLUTE_JAVABASE should
# point to the "JAVA_HOME" of your JDK.
#
# build --javabase=@bazel_tools//tools/jdk:absolute_javabase
# build --host_javabase=@bazel_tools//tools/jdk:absolute_javabase
# build --define=ABSOLUTE_JAVABASE=<path/to/jdk>
# build --define=RUN_WITH_ABSOLUTE_JAVABASE=true
build --javabase=@org_onosproject_onos//tools/build/jdk:default_jdk
build --host_javabase=@org_onosproject_onos//tools/build/jdk:default_jdk
build --java_toolchain=@org_onosproject_onos//tools/build/jdk:default_toolchain
build --host_java_toolchain=@org_onosproject_onos//tools/build/jdk:default_toolchain
build --host_force_python=PY2
build --nouse_ijars
build --experimental_strict_action_env
# io_bazel_rules_go needs this
build --incompatible_disable_deprecated_attr_params=false
# intellij-bazel plugin needs this
build --incompatible_depset_is_not_iterable=false
build --incompatible_new_actions_api=false
test --test_summary=terse
test --test_output=errors
test --test_verbose_timeout_warnings
# build --disk_cache=~/bazel-cache
# build --remote_http_cache=http://10.1.10.224:80/cache