summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-03-23 19:07:11 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-03-23 19:07:11 -0700
commitb10a98a3ac01d82e290256f3ecf0d3a7acbab85f (patch)
treed2278fba732a0dcc4581b78e9a9b3da07383528c /var
parentcc582dd4b435ba06dc140b1ca96b688871e36abb (diff)
parent4e5dfc8b18ed30e261fe6b6dd014c8991937934d (diff)
downloadspack-b10a98a3ac01d82e290256f3ecf0d3a7acbab85f.tar.gz
spack-b10a98a3ac01d82e290256f3ecf0d3a7acbab85f.tar.bz2
spack-b10a98a3ac01d82e290256f3ecf0d3a7acbab85f.tar.xz
spack-b10a98a3ac01d82e290256f3ecf0d3a7acbab85f.zip
Merge pull request #622 from davydden/blasklist_openblas_0216
blacklist Openblas 0.2.16 for missing _dggsvd_ and _sggsvd_
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/openblas/package.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/openblas/package.py b/var/spack/repos/builtin/packages/openblas/package.py
index 781a1e2ec8..1d10f217c4 100644
--- a/var/spack/repos/builtin/packages/openblas/package.py
+++ b/var/spack/repos/builtin/packages/openblas/package.py
@@ -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'