<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/be5cf4a21f14f2df6d65da41bc596ace97126785">https://github.com/macports/macports-ports/commit/be5cf4a21f14f2df6d65da41bc596ace97126785</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 be5cf4a21f1 py-pytorch: pass compiler flags via CMAKE_CXX_FLAGS See: https://github.com/macports/macports-ports/commit/217f82b3d74997385429448e06addc1322d09fb3 Fixes: https://trac.macports.org/ticket/65682
</span>be5cf4a21f1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit be5cf4a21f14f2df6d65da41bc596ace97126785
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Thu Aug 25 13:18:38 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> py-pytorch: pass compiler flags via CMAKE_CXX_FLAGS
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://github.com/macports/macports-ports/commit/217f82b3d74997385429448e06addc1322d09fb3
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/65682
</span>---
python/py-pytorch/Portfile | 3 +--
1 file changed, 1 insertion(+), 2 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 73f5de94852..375439cda6e 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;'>@@ -158,12 +158,11 @@ if {${name} ne ${subport}} {
</span> }
configure.ccache yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cxxflags-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -Wno-bitwise-instead-of-logical
</span>
# ZSTD support broke with 1.2.0-1.12.0. Check with future releases.
build.env-append \
CMAKE_LIBRARY_PATH=${prefix}/lib:${prefix}/lib/libomp \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ CMAKE_CXX_FLAGS=-Wno-bitwise-instead-of-logical \
</span> LIBRARY_PATH=${prefix}/lib:${prefix}/lib/libomp \
OpenCV_DIR=${prefix}/libexec/opencv4/cmake \
USE_CCACHE=OFF \
</pre><pre style='margin:0'>
</pre>