<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/72ace94c84bf1589081ea14ece687b55234a9201">https://github.com/macports/macports-ports/commit/72ace94c84bf1589081ea14ece687b55234a9201</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 72ace94c84b raxml: don't set conflicting default variants
</span>72ace94c84b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 72ace94c84bf1589081ea14ece687b55234a9201
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Wed Jan 20 20:49:16 2021 +1100
<span style='display:block; white-space:pre;color:#404040;'> raxml: don't set conflicting default variants
</span>---
science/raxml/Portfile | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/raxml/Portfile b/science/raxml/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bacf7a0d523..a1fd8110b98 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/raxml/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/raxml/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,7 +60,11 @@ variant pthreads conflicts hybrid description {Pthreads implementation} {
</span> }
if {![mpi_variant_isset]} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +pthreads
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset hybrid]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +openmpi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +pthreads
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
#For Intel machines add SSE and AVX as a variant and use it by default with pthreads
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -90,11 +94,11 @@ if {${build_arch} eq "i386" || ${build_arch} eq "x86_64"} {
</span> set EXTb "-AVX2"
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {![catch {sysctl hw.optional.avx2_0} result] && ${result} == 1} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {![variant_isset avx] && ![variant_isset sse3] && ![catch {sysctl hw.optional.avx2_0} result] && ${result} == 1} {
</span> default_variants-append +avx2
<span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif {![catch {sysctl hw.optional.avx1_0} result] && ${result} == 1} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {![variant_isset avx2] && ![variant_isset sse3] && ![catch {sysctl hw.optional.avx1_0} result] && ${result} == 1} {
</span> default_variants-append +avx
<span style='display:block; white-space:pre;background:#ffe0e0;'>- } elseif {![catch {sysctl hw.optional.sse3} result] && ${result} == 1} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } elseif {![variant_isset avx] && ![variant_isset avx2] && ![catch {sysctl hw.optional.sse3} result] && ${result} == 1} {
</span> default_variants-append +sse3
}
} else {
</pre><pre style='margin:0'>
</pre>