mirror of
https://github.com/psa/libtensorflow1-freebsd-port.git
synced 2025-12-14 02:40:30 +01:00
Ran portlint, portclippy and portfmt. Recreated patches with make makepatch Add additional required pre-build downloads from github Add OpenCL Sycl support Use memory usage reducing flags for bazel. They are all to do with reducing the time taken for incremental builds, which is not relevant when building ports. Add TF_NEED_MPT=0 to stop prompting Add -march=native -Wno-sign-compare flags for CC
12 lines
471 B
Python
12 lines
471 B
Python
--- configure.py.orig 2021-01-04 20:18:42 UTC
|
|
+++ configure.py
|
|
@@ -475,7 +475,7 @@ def check_bazel_version(min_version, max_version):
|
|
print('Cannot find bazel. Please install bazel.')
|
|
sys.exit(0)
|
|
curr_version = run_shell(
|
|
- ['bazel', '--batch', '--bazelrc=/dev/null', 'version'])
|
|
+ ['bazel', '--batch', '--output_user_root=/tmp/.bazel', '--bazelrc=/dev/null', 'version'])
|
|
|
|
for line in curr_version.split('\n'):
|
|
if 'Build label: ' in line:
|