fix missing (depricated) _dggsvd_ and _sggsvd_ in Openblas 0.2.16

This commit is contained in:
Denis Davydov 2016-03-23 19:40:16 +01:00
parent cc582dd4b4
commit 4e5dfc8b18

View file

@ -6,6 +6,7 @@ class Openblas(Package):
homepage = "http://www.openblas.net" homepage = "http://www.openblas.net"
url = "http://github.com/xianyi/OpenBLAS/archive/v0.2.15.tar.gz" url = "http://github.com/xianyi/OpenBLAS/archive/v0.2.15.tar.gz"
version('0.2.17', '664a12807f2a2a7cda4781e3ab2ae0e1')
version('0.2.16', 'fef46ab92463bdbb1479dcec594ef6dc') version('0.2.16', 'fef46ab92463bdbb1479dcec594ef6dc')
version('0.2.15', 'b1190f3d3471685f17cfd1ec1d252ac9') version('0.2.15', 'b1190f3d3471685f17cfd1ec1d252ac9')
@ -14,7 +15,14 @@ class Openblas(Package):
provides('lapack') provides('lapack')
def install(self, spec, prefix): def install(self, spec, prefix):
make('libs', 'netlib', 'shared', 'CC=cc', 'FC=f77') extra=[]
if spec.satisfies('@0.2.16'):
extra.extend([
'BUILD_LAPACK_DEPRECATED=1' # fix missing _dggsvd_ and _sggsvd_
])
make('libs', 'netlib', 'shared', 'CC=cc', 'FC=f77',*extra)
make("tests")
make('install', "PREFIX='%s'" % prefix) make('install', "PREFIX='%s'" % prefix)
lib_dsuffix = 'dylib' if sys.platform == 'darwin' else 'so' lib_dsuffix = 'dylib' if sys.platform == 'darwin' else 'so'