[MUMPS] Remove the injection of rpath_args through the inject_libs
variable. This should happen automatically through the Spack compiler wrapper.
This commit is contained in:
parent
ae795d8184
commit
6f0472ea87
1 changed files with 1 additions and 4 deletions
|
@ -203,10 +203,7 @@ def write_makefile_inc(self):
|
||||||
|
|
||||||
if '+shared' in self.spec:
|
if '+shared' in self.spec:
|
||||||
# All Mumps libraries will be linked with 'inject_libs'.
|
# All Mumps libraries will be linked with 'inject_libs'.
|
||||||
# Usually, the rpaths will be injected by the Spack compiler
|
inject_libs = []
|
||||||
# wrapper, however some MPI wrappers may not call the Spack
|
|
||||||
# compiler wrapper.
|
|
||||||
inject_libs = [self.rpath_args]
|
|
||||||
if '+mpi' in self.spec:
|
if '+mpi' in self.spec:
|
||||||
inject_libs += [self.spec['scalapack'].libs.ld_flags]
|
inject_libs += [self.spec['scalapack'].libs.ld_flags]
|
||||||
if '+ptscotch' in self.spec or '+scotch' in self.spec:
|
if '+ptscotch' in self.spec or '+scotch' in self.spec:
|
||||||
|
|
Loading…
Reference in a new issue