summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-03-04 13:16:42 -0600
committerGitHub <noreply@github.com>2020-03-04 13:16:42 -0600
commit5cfd862f47024eea60f89479a229e0a4676a8fc9 (patch)
tree3343694240bdf419a13c019429af75991b379827 /var
parent32a0f3274f56ad7a0f0b26de018aaaef93428afc (diff)
downloadspack-5cfd862f47024eea60f89479a229e0a4676a8fc9.tar.gz
spack-5cfd862f47024eea60f89479a229e0a4676a8fc9.tar.bz2
spack-5cfd862f47024eea60f89479a229e0a4676a8fc9.tar.xz
spack-5cfd862f47024eea60f89479a229e0a4676a8fc9.zip
suite-sparse: fix installation for v5.X (#15326)
fixes #15184 GraphBLAS depends on m4 according to CMake error message Do not use INSTALL= when compiling the library
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/suite-sparse/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/suite-sparse/package.py b/var/spack/repos/builtin/packages/suite-sparse/package.py
index c9e7b43470..20c1dbd88e 100644
--- a/var/spack/repos/builtin/packages/suite-sparse/package.py
+++ b/var/spack/repos/builtin/packages/suite-sparse/package.py
@@ -34,6 +34,7 @@ class SuiteSparse(Package):
depends_on('blas')
depends_on('lapack')
+ depends_on('m4', type='build', when='@5.0.0:')
depends_on('cmake', when='@5.2.0:', type='build')
depends_on('metis@5.1.0', when='@4.5.1:')
@@ -64,7 +65,6 @@ class SuiteSparse(Package):
pic_flag = self.compiler.pic_flag if '+pic' in spec else ''
make_args = [
- 'INSTALL=%s' % prefix,
# By default, the Makefile uses the Intel compilers if
# they are found. The AUTOCC flag disables this behavior,
# forcing it to use Spack's compiler wrappers.
@@ -134,6 +134,7 @@ class SuiteSparse(Package):
if '@5.4.0:' in self.spec:
make('default', *make_args)
+ make_args.append('INSTALL=%s' % prefix)
make('install', *make_args)
@property