<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/f4998abb6ff2dda8769076eb174f329179a7a55d">https://github.com/macports/macports-ports/commit/f4998abb6ff2dda8769076eb174f329179a7a55d</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 f4998ab lpcnetfreedv: update to commit 8b78d3f5
</span>f4998ab is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f4998abb6ff2dda8769076eb174f329179a7a55d
</span>Author: Davide Gerhard <rainbow@irh.it>
AuthorDate: Mon Sep 2 10:28:34 2019 +0200
<span style='display:block; white-space:pre;color:#404040;'> lpcnetfreedv: update to commit 8b78d3f5
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - update to commit 8b78d3f5
</span><span style='display:block; white-space:pre;color:#404040;'> - fix build without optimization
</span>---
audio/lpcnetfreedv/Portfile | 30 ++++++++++++++++++------------
1 file changed, 18 insertions(+), 12 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/lpcnetfreedv/Portfile b/audio/lpcnetfreedv/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c40b46c..0336d34 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/lpcnetfreedv/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/lpcnetfreedv/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,11 +15,11 @@ description Experimental Neural Net speech coding for FreeDV
</span> long_description Experimental version of LPCNet being developed \
for over the air Digital Voice experiments with FreeDV.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup drowe67 LPCNet 0d5292c4dde78f8b17e1c636fd4aa30508397bc0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 20190819-[string range ${github.version} 0 7]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 1e0a987ce86d410e768d2e8981ef78bbf8655010 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 5fced52b66c9e6c970b8a8cb1bd75abcb7fcd10b9320a8736e384b0e860d7cc5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 3307150
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup drowe67 LPCNet 8b78d3f5bcf7905ed3261e03f1082d587aab5371
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 20190902
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 87a9ac0597c3f4cbed9b1f270bb229c9adb4da1b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2aa6831102bce3d690a50637ec997b5c844a8754cc58ae1cd8ffca930ea7fa2d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3307177
</span> revision 0
depends_lib-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,16 +27,22 @@ depends_lib-append \
</span>
# disable AVX and AVX2 for compatibility
configure.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- -DAVX=OFF \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DAVX2=OFF \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -DNEON=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DDISABLE_CPU_OPTIMIZATION=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # enable optimization (SSSE3) on all Intel hardwares
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${build_arch} eq "i386" || ${build_arch} eq "x86_64"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_C_FLAGS="-mssse3" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DCMAKE_CXX_FLAGS="-mssse3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
# select native cpu flags
variant native description {Enable auto selection of cpu flags like avx/avx2/neon} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete -DAVX=OFF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete -DAVX2=OFF
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete -DNEON=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete -DDISABLE_CPU_OPTIMIZATION=ON
</span> }
notes "To enable lpcnet on codec2 you need to rebuild it manually with\
<span style='display:block; white-space:pre;background:#ffe0e0;'>-the respective variant enabled. Aka, circular dependency."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+the respective variant enabled. Aka, circular dependency.\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+command to rebuild: port -n upgrade --force codec2"
</span></pre><pre style='margin:0'>
</pre>