From 6f0472ea871a55cbafb3bbcbe258cf1fff605de7 Mon Sep 17 00:00:00 2001 From: Veselin Dobrev Date: Wed, 21 Mar 2018 17:55:04 -0700 Subject: [PATCH] [MUMPS] Remove the injection of rpath_args through the inject_libs variable. This should happen automatically through the Spack compiler wrapper. --- var/spack/repos/builtin/packages/mumps/package.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/var/spack/repos/builtin/packages/mumps/package.py b/var/spack/repos/builtin/packages/mumps/package.py index f572b4d0323..85d2aab3b12 100644 --- a/var/spack/repos/builtin/packages/mumps/package.py +++ b/var/spack/repos/builtin/packages/mumps/package.py @@ -203,10 +203,7 @@ def write_makefile_inc(self): 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: