summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVeselin Dobrev <dobrev@llnl.gov>2018-03-21 17:55:04 -0700
committerVeselin Dobrev <dobrev@llnl.gov>2018-03-21 17:55:04 -0700
commit6f0472ea871a55cbafb3bbcbe258cf1fff605de7 (patch)
treee0da0855e2bddeb7de1537ee41a971538cd85ca3
parentae795d81849de8cbaba27eb63aac2ee256f022d3 (diff)
downloadspack-6f0472ea871a55cbafb3bbcbe258cf1fff605de7.tar.gz
spack-6f0472ea871a55cbafb3bbcbe258cf1fff605de7.tar.bz2
spack-6f0472ea871a55cbafb3bbcbe258cf1fff605de7.tar.xz
spack-6f0472ea871a55cbafb3bbcbe258cf1fff605de7.zip
[MUMPS] Remove the injection of rpath_args through the inject_libs
variable. This should happen automatically through the Spack compiler wrapper.
-rw-r--r--var/spack/repos/builtin/packages/mumps/package.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/mumps/package.py b/var/spack/repos/builtin/packages/mumps/package.py
index f572b4d032..85d2aab3b1 100644
--- a/var/spack/repos/builtin/packages/mumps/package.py
+++ b/var/spack/repos/builtin/packages/mumps/package.py
@@ -203,10 +203,7 @@ class Mumps(Package):
if '+shared' in self.spec:
# All Mumps libraries will be linked with 'inject_libs'.
- # Usually, the rpaths will be injected by the Spack compiler
- # wrapper, however some MPI wrappers may not call the Spack
- # compiler wrapper.
- inject_libs = [self.rpath_args]
+ inject_libs = []
if '+mpi' in self.spec:
inject_libs += [self.spec['scalapack'].libs.ld_flags]
if '+ptscotch' in self.spec or '+scotch' in self.spec: