<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e20c7451a839056f736bf31ea88ace98036f14e4">https://github.com/macports/macports-ports/commit/e20c7451a839056f736bf31ea88ace98036f14e4</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 e20c7451a83 R: add OpenBLAS variant
</span>e20c7451a83 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e20c7451a839056f736bf31ea88ace98036f14e4
</span>Author: Webb Phillips <webb.phillips@gmail.com>
AuthorDate: Sun Jul 5 16:11:55 2020 +0200
<span style='display:block; white-space:pre;color:#404040;'> R: add OpenBLAS variant
</span>---
math/R/Portfile | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/R/Portfile b/math/R/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ce51a382b7c..959c2a4ee77 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/R/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/R/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -106,20 +106,26 @@ platform darwin 13 {
</span> configure.cflags-append -flax-vector-conversions
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant accelerate conflicts atlas builtin_lapack description {build using the BLAS and Lapack in Apple's Accelerate framework} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant accelerate conflicts atlas builtin_lapack OpenBLAS description {build using the BLAS and Lapack in Apple's Accelerate framework} {
</span> configure.args-append --with-blas="-framework Accelerate" --with-lapack
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant atlas conflicts accelerate builtin_lapack description {build using the BLAS in the atlas port} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant atlas conflicts accelerate builtin_lapack OpenBLAS description {build using the BLAS in the atlas port} {
</span> depends_lib-append port:atlas
configure.args-append --with-blas="-L${prefix}/lib -lptf77blas -latlas"
#See A.3.2 in R Installation and Administration for why atlas LAPACK not used
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant builtin_lapack conflicts accelerate atlas description {build using reference BLAS and Lapack} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant builtin_lapack conflicts accelerate atlas OpenBLAS description {build using reference BLAS and Lapack} {
</span> configure.args-append --without-blas --without-lapack
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant OpenBLAS conflicts builtin_lapack accelerate atlas description {build using the BLAS and Lapack in the OpenBLAS port} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:OpenBLAS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --enable-BLAS-shlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-blas="-L${prefix}/lib -lopenblas" --with-lapack
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant cairo description {use cairo and pango} {
depends_lib-append path:lib/pkgconfig/cairo.pc:cairo \
path:lib/pkgconfig/pango.pc:pango \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -193,7 +199,7 @@ if {[variant_isset cairo] && [variant_isset quartz]} {
</span> require_active_variants path:lib/pkgconfig/pango.pc:pango quartz
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset accelerate] && ![variant_isset atlas] && ![variant_isset builtin_lapack]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset accelerate] && ![variant_isset atlas] && ![variant_isset OpenBLAS] && ![variant_isset builtin_lapack]} {
</span> default_variants-append +builtin_lapack
}
</pre><pre style='margin:0'>
</pre>