<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/36c41fd2ef49b9fc4336695127bf7ae153b3ef6c">https://github.com/macports/macports-ports/commit/36c41fd2ef49b9fc4336695127bf7ae153b3ef6c</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 36c41fd2ef4 py-pytorch: Update to version 1.13.0
</span>36c41fd2ef4 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 36c41fd2ef49b9fc4336695127bf7ae153b3ef6c
</span>Author: Steven Thomas Smith <s.t.smith@ieee.org>
AuthorDate: Fri Oct 28 16:22:15 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-pytorch: Update to version 1.13.0
</span>---
python/py-pytorch/Portfile | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-pytorch/Portfile b/python/py-pytorch/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bbd28e498bc..ae581832d01 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-pytorch/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-pytorch/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,8 +7,8 @@ PortGroup mpi 1.0
</span> PortGroup python 1.0
name py-pytorch
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.12.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.13.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> github.setup pytorch pytorch ${version} v
fetch.type git
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -127,20 +127,12 @@ if {${name} ne ${subport}} {
</span> system -W ${worksrcpath} "git submodule update --init --recursive"
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # Resolve issue with Clang 13: warning option 'unused-but-set' not available.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fixed by upstream, and will be included in future release.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # See: https://trac.macports.org/ticket/65501
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-cmake-clang-unused-but-set.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # Patch to fix init issue with google-glog 0.5.0, caused by breaking API change.
# Refer to patch header for detailed background.
# Upstream PyTorch issue: https://github.com/pytorch/pytorch/issues/58054
# diff -NaurdwB ./py-pytorch-orig/c10/util/Logging.cpp ./py-pytorch-new/c10/util/Logging.cpp | sed -E -e 's/\.\/py-pytorch-(orig|new)/\.\//' | sed -E -e 's|/opt/local|@@PREFIX@@|g' > ~/Downloads/patch-glog-init-check.diff
patchfiles-append patch-glog-init-check.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # diff -NaurdwB ./py-pytorch-orig/torch/csrc/jit/tensorexpr/bounds_overlap.h ./py-pytorch-new/torch/csrc/jit/tensorexpr/bounds_overlap.h | sed -E -e 's/\.\/py-pytorch-(orig|new)/\.\//' | sed -E -e 's|/opt/local|@@PREFIX@@|g' > ~/Downloads/patch-bounds_overlap-h.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles-append patch-bounds_overlap-h.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # Use Intel Math kernel Library
if {[variant_isset mkl]} {
patchfiles-append FindMKL-OMP.patch
</pre><pre style='margin:0'>
</pre>