mumps: don't hardcode blas name; remove unused depends_on(lapack)
This commit is contained in:
parent
6175ce7559
commit
0752eccfa5
1 changed files with 4 additions and 3 deletions
|
@ -50,7 +50,6 @@ class Mumps(Package):
|
||||||
depends_on('metis@5:', when='+metis')
|
depends_on('metis@5:', when='+metis')
|
||||||
depends_on('parmetis', when="+parmetis")
|
depends_on('parmetis', when="+parmetis")
|
||||||
depends_on('blas')
|
depends_on('blas')
|
||||||
depends_on('lapack')
|
|
||||||
depends_on('scalapack', when='+mpi')
|
depends_on('scalapack', when='+mpi')
|
||||||
depends_on('mpi', when='+mpi')
|
depends_on('mpi', when='+mpi')
|
||||||
|
|
||||||
|
@ -63,7 +62,9 @@ def write_makefile_inc(self):
|
||||||
if ('+parmetis' in self.spec or '+ptscotch' in self.spec) and '+mpi' not in self.spec:
|
if ('+parmetis' in self.spec or '+ptscotch' in self.spec) and '+mpi' not in self.spec:
|
||||||
raise RuntimeError('You cannot use the variants parmetis or ptscotch without mpi')
|
raise RuntimeError('You cannot use the variants parmetis or ptscotch without mpi')
|
||||||
|
|
||||||
makefile_conf = ["LIBBLAS = -L%s -lblas" % self.spec['blas'].prefix.lib]
|
makefile_conf = ["LIBBLAS = %s" % to_link_flags(
|
||||||
|
self.spec['blas'].blas_shared_lib)
|
||||||
|
]
|
||||||
|
|
||||||
orderings = ['-Dpord']
|
orderings = ['-Dpord']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue