summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMathias Anselmann <mathias.anselmann@posteo.de>2020-03-03 12:06:58 +0100
committerGitHub <noreply@github.com>2020-03-03 12:06:58 +0100
commit518d1439c7c210ddb6c1bd6267fed62bb0cb8ab7 (patch)
tree8ff5736025b18e8e0bc9e7b70e78cc7ed637ecb2 /var
parentdc4e43682ca9fb365e6d6aab8e395461a3c99c99 (diff)
downloadspack-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
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/suite-sparse/package.py3
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)