<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/604d5a3a1fe87f8a1696198bdede13b9503369e1">https://github.com/macports/macports-ports/commit/604d5a3a1fe87f8a1696198bdede13b9503369e1</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 604d5a3a1fe armadillo: make openblas variant default on PPC, fixes build Fixes: https://trac.macports.org/ticket/65292
</span>604d5a3a1fe is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 604d5a3a1fe87f8a1696198bdede13b9503369e1
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Tue Aug 16 04:25:27 2022 +0700
<span style='display:block; white-space:pre;color:#404040;'> armadillo: make openblas variant default on PPC, fixes build
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/65292
</span>---
science/armadillo/Portfile | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/armadillo/Portfile b/science/armadillo/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f49d25c8662..a8e02a95c41 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/armadillo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/armadillo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,7 +48,8 @@ variant arpack description {compile with ARPACK support} {
</span>
variant openblas description {compile with OpenBLAS support} {
depends_lib-append path:lib/libopenblas.dylib:OpenBLAS
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DALLOW_BLAS_LAPACK_MACOS=TRUE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append -DALLOW_BLAS_LAPACK_MACOS=TRUE \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DALLOW_OPENBLAS_MACOS=ON
</span> }
variant superlu description {compile with SuperLU support} {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,6 +57,13 @@ variant superlu description {compile with SuperLU support} {
</span> configure.args-append -DARMA_USE_SUPERLU=ON
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${build_arch} in [list ppc ppc64]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Without OpenBLAS the build fails on Leopard and Rosetta with undefined symbols.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # https://trac.macports.org/ticket/65292
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # -DALLOW_OPENBLAS_MACOS=ON is necessary.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +openblas
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Fix https://trac.macports.org/ticket/59173,
# also see https://trac.macports.org/ticket/56554
if {[variant_isset gcc44] || [variant_isset gcc45] || [variant_isset gcc46] || \
</pre><pre style='margin:0'>
</pre>