summaryrefslogtreecommitdiff
path: root/math/py-keras/files/bazelrc
blob: f1efb9602f3ec19fd2806e1f730017214f60acc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
startup --output_user_root="%%BAZEL_DIR%%/.cache/"

# 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 --extra_toolchains=//freebsd:cc-toolchain-freebsd

# for python
build --action_env=PATH=%%PATH%%
build --host_action_env=PATH=%%PATH%%

build --config=freebsd