diff options
| author | Anthony Donnelly <amzo1337@gmail.com> | 2022-09-13 13:30:31 -0700 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2022-09-13 13:32:36 -0700 |
| commit | 2dd8869d4b07e101d86d00bb01f83c9787ed9007 (patch) | |
| tree | c41f4078ee3c9c99860e348cba73c6af0921e163 /math/py-keras/files/bazelrc | |
| parent | science/py-tensorflow: Update 1.15.5 -> 2.9.1 (diff) | |
math/py-keras: Update 2.4.3 -> 2.9.0
PR: 266311
Diffstat (limited to 'math/py-keras/files/bazelrc')
| -rw-r--r-- | math/py-keras/files/bazelrc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/math/py-keras/files/bazelrc b/math/py-keras/files/bazelrc new file mode 100644 index 000000000000..f1efb9602f3e --- /dev/null +++ b/math/py-keras/files/bazelrc @@ -0,0 +1,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 |
