opnsense-ports/math/py-keras/files/bazelrc
Franco Fichtner 7eba600ec9 */*: sync with upstream
Taken from: FreeBSD
2022-09-26 10:14:12 +02:00

18 lines
637 B
Text

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