ports/math/py-keras/files/bazelrc
Anthony Donnelly 2dd8869d4b math/py-keras: Update 2.4.3 -> 2.9.0
PR:		266311
2022-09-13 13:32:36 -07: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