<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/01e518735770f7f2b8b7ec542dc6caca75bd3e33">https://github.com/macports/macports-ports/commit/01e518735770f7f2b8b7ec542dc6caca75bd3e33</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 01e518735770f7f2b8b7ec542dc6caca75bd3e33
</span>Author: Chris Jones <jonesc@macports.org>
AuthorDate: Wed Mar 24 14:28:17 2021 +0000
<span style='display:block; white-space:pre;color:#404040;'> py-tensorflow: Use bazel-3.1 to build, as per upstream testing
</span><span style='display:block; white-space:pre;color:#404040;'> See https://www.tensorflow.org/install/source#macos
</span>---
python/py-tensorflow/Portfile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-tensorflow/Portfile b/python/py-tensorflow/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ca2edb51d52..ac30cae0cd9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-tensorflow/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-tensorflow/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -52,7 +52,8 @@ python.versions 37 38 39
</span> if {${name} ne ${subport}} {
PortGroup bazel 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>- bazel.version "3.7"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See https://www.tensorflow.org/install/source#macos for tested bazel versions.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bazel.version "3.1"
</span>
# TF versions 1 and 2 cannot be installed at once
conflicts py${python.version}-tensorflow1
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -90,7 +91,7 @@ if {${name} ne ${subport}} {
</span> bazel.post_build_cmd ./bazel-bin/tensorflow/tools/pip_package/build_pip_package [list $workpath]
bazel.extra_build_opts -c opt --config=opt
<span style='display:block; white-space:pre;background:#ffe0e0;'>- #bazel.limit_build_jobs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bazel.limit_build_jobs no
</span>
destroot.cmd pip-${python.branch}
destroot.args \
</pre><pre style='margin:0'>
</pre>