blob: f3a2c1a76cb390ee46e25d6dba7fff3956d24684 (
plain) (
blame)
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
|
startup --batch
build --strip=never
build --verbose_failures --noshow_loading_progress
test --verbose_test_summary --verbose_failures --noshow_loading_progress
build --spawn_strategy=local --genrule_strategy=local
test --spawn_strategy=local --genrule_strategy=local
# make bazel only fetch distfiles from the cache
fetch --repository_cache="%%BAZEL_DIR%%/bazel-cache/" --distdir="%%BAZEL_DIST%%/bazel-dist/"
build --repository_cache="%%BAZEL_DIR%%/bazel-cache/" --distdir="%%BAZEL_DIST%%/bazel-dist/"
build --define=PREFIX=%%LOCALBASE%%
build --define=LIBDIR=%%LOCALBASE%%/lib
build --define=INCLUDEDIR=%%LOCALBASE%%/include
build --define=PROTOBUF_INCLUDE_PATH=%%LOCALBASE%%/include
build --config=noaws --config=nohdfs
build --define tensorflow_mkldnn_contraction_kernel=0
build --action_env=BAZEL_CXXOPTS="-std=c++17"
build --incompatible_enable_cc_toolchain_resolution
build --extra_toolchains=//freebsd:cc-toolchain-freebsd
build --linkopt="-lexecinfo" --toolchain_resolution_debug=//freebsd:freebsd_clang
# for python
build --action_env=PATH=%%PATH%%
build --host_action_env=PATH=%%PATH%%
build --action_env=KERAS_HOME="%%BAZEL_DIST%%/.keras"
build --host_action_env=KERAS_HOME="%%BAZEL_DIST%%/.keras"
build --config=freebsd
|