diff options
author | Toyohisa Kameyama <kameyama@riken.jp> | 2019-06-21 20:55:04 +0900 |
---|---|---|
committer | Elizabeth Fischer <elizabeth.fischer@columbia.edu> | 2019-06-21 07:55:04 -0400 |
commit | 1827b4c5cbb53f652f47acdb45358dfdfda6c228 (patch) | |
tree | ee29ac07de40b8d75cf2400c5e6dce9aebec57fa | |
parent | 9955b15f4e7579b394416ef1e3c398167c6828cc (diff) | |
download | spack-1827b4c5cbb53f652f47acdb45358dfdfda6c228.tar.gz spack-1827b4c5cbb53f652f47acdb45358dfdfda6c228.tar.bz2 spack-1827b4c5cbb53f652f47acdb45358dfdfda6c228.tar.xz spack-1827b4c5cbb53f652f47acdb45358dfdfda6c228.zip |
mpileaks: use autotools. (#11808)
-rw-r--r-- | var/spack/repos/builtin/packages/mpileaks/package.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/mpileaks/package.py b/var/spack/repos/builtin/packages/mpileaks/package.py index 96cd1d9681..83aa3f5ad3 100644 --- a/var/spack/repos/builtin/packages/mpileaks/package.py +++ b/var/spack/repos/builtin/packages/mpileaks/package.py @@ -6,7 +6,7 @@ from spack import * -class Mpileaks(Package): +class Mpileaks(AutotoolsPackage): """Tool to detect and report leaked MPI objects like MPI_Requests and MPI_Datatypes.""" @@ -19,9 +19,10 @@ class Mpileaks(Package): depends_on("adept-utils") depends_on("callpath") - def install(self, spec, prefix): - configure("--prefix=" + prefix, - "--with-adept-utils=" + spec['adept-utils'].prefix, - "--with-callpath=" + spec['callpath'].prefix) - make() - make("install") + def configure_args(self): + args = [] + + args.append("--with-adept-utils=%s" % self.spec['adept-utils'].prefix) + args.append("--with-callpath=%s" % self.spec['callpath'].prefix) + + return args |