diff options
author | Mathias Anselmann <mathias.anselmann@posteo.de> | 2020-03-03 12:06:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-03 12:06:58 +0100 |
commit | 518d1439c7c210ddb6c1bd6267fed62bb0cb8ab7 (patch) | |
tree | 8ff5736025b18e8e0bc9e7b70e78cc7ed637ecb2 | |
parent | dc4e43682ca9fb365e6d6aab8e395461a3c99c99 (diff) | |
download | spack-518d1439c7c210ddb6c1bd6267fed62bb0cb8ab7.tar.gz spack-518d1439c7c210ddb6c1bd6267fed62bb0cb8ab7.tar.bz2 spack-518d1439c7c210ddb6c1bd6267fed62bb0cb8ab7.tar.xz spack-518d1439c7c210ddb6c1bd6267fed62bb0cb8ab7.zip |
Suite sparse compilation fix for 5.7.0 and 5.7.1 (#15289)
Suite-sparse 5.7.0 and 5.7.1 need separate make and make install run to be able to compile, too
-rw-r--r-- | var/spack/repos/builtin/packages/suite-sparse/package.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/suite-sparse/package.py b/var/spack/repos/builtin/packages/suite-sparse/package.py index 5019b7a236..c9e7b43470 100644 --- a/var/spack/repos/builtin/packages/suite-sparse/package.py +++ b/var/spack/repos/builtin/packages/suite-sparse/package.py @@ -131,8 +131,7 @@ class SuiteSparse(Package): # In those SuiteSparse versions calling "make install" in one go is # not possible, mainly because of GraphBLAS. Thus compile first and # install in a second run. - if (self.spec.version >= Version('5.4.0') and - self.spec.version <= Version('5.6.0')): + if '@5.4.0:' in self.spec: make('default', *make_args) make('install', *make_args) |