Skip to content
Snippets Groups Projects
Commit 1827b4c5 authored by Toyohisa Kameyama's avatar Toyohisa Kameyama Committed by Elizabeth Fischer
Browse files

mpileaks: use autotools. (#11808)

parent 9955b15f
Branches
Tags
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
from spack import * from spack import *
class Mpileaks(Package): class Mpileaks(AutotoolsPackage):
"""Tool to detect and report leaked MPI objects like MPI_Requests and """Tool to detect and report leaked MPI objects like MPI_Requests and
MPI_Datatypes.""" MPI_Datatypes."""
...@@ -19,9 +19,10 @@ class Mpileaks(Package): ...@@ -19,9 +19,10 @@ class Mpileaks(Package):
depends_on("adept-utils") depends_on("adept-utils")
depends_on("callpath") depends_on("callpath")
def install(self, spec, prefix): def configure_args(self):
configure("--prefix=" + prefix, args = []
"--with-adept-utils=" + spec['adept-utils'].prefix,
"--with-callpath=" + spec['callpath'].prefix) args.append("--with-adept-utils=%s" % self.spec['adept-utils'].prefix)
make() args.append("--with-callpath=%s" % self.spec['callpath'].prefix)
make("install")
return args
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment