Skip to content
Permalink
Browse files

py-scipy: Make +openblas a default variant

... at least temporarily, to overcome issues with Apple's /usr/lib/libblas.* and /usr/lib/liblapack.* missing a symbol.

Closes: https://trac.macports.org/ticket/57829
  • Loading branch information...
michaelld committed Jan 15, 2019
1 parent dab1acf commit b10ed01c11fe815974c7d3acd766de3fcae93b8b
Showing with 10 additions and 1 deletion.
  1. +10 −1 python/py-scipy/Portfile
@@ -7,10 +7,10 @@ PortGroup github 1.0
PortGroup compilers 1.0

github.setup scipy scipy 1.2.0 v
revision 0
checksums rmd160 e847b6ba0ce8795824c48e6b9231b311a2f73596 \
sha256 7671582e729e36cbf12274fa85a110aa90dbf508fb2cfb8a87f9a83488924d73 \
size 18554429
revision 1

name py-scipy
platforms darwin
@@ -75,6 +75,15 @@ if {${name} ne ${subport}} {
depends_lib-append path:lib/libopenblas.dylib:OpenBLAS
}

# Make +openblas a default variant, at least temporarily, to
# overcome issues with Apple's /usr/lib/libblas.* and
# /usr/lib/liblapack.* missing a symbol. see also:
# https://trac.macports.org/ticket/57829
if {![variant_isset atlas] &&
![variant_isset openblas]} {
default_variants +openblas
}

if {[variant_isset atlas]} {
# use MacPorts atlas
build.env-append OPENBLAS=None \

0 comments on commit b10ed01

Please sign in to comment.
You can’t perform that action at this time.