fix missing (depricated) _dggsvd_ and _sggsvd_ in Openblas 0.2.16
This commit is contained in:
parent
cc582dd4b4
commit
4e5dfc8b18
1 changed files with 9 additions and 1 deletions
|
@ -6,6 +6,7 @@ class Openblas(Package):
|
|||
homepage = "http://www.openblas.net"
|
||||
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.15', 'b1190f3d3471685f17cfd1ec1d252ac9')
|
||||
|
||||
|
@ -14,7 +15,14 @@ class Openblas(Package):
|
|||
provides('lapack')
|
||||
|
||||
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)
|
||||
|
||||
lib_dsuffix = 'dylib' if sys.platform == 'darwin' else 'so'
|
||||
|
|
Loading…
Reference in a new issue