From 44440d023dae13b7a6b167e8364d71cc83922da7 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Tue, 9 May 2017 18:58:44 -0400 Subject: qthreads: Convert to AutoTools package (#4176) --- var/spack/repos/builtin/packages/qthreads/package.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/qthreads/package.py b/var/spack/repos/builtin/packages/qthreads/package.py index e3cf09ed6c..085ce7d8b0 100644 --- a/var/spack/repos/builtin/packages/qthreads/package.py +++ b/var/spack/repos/builtin/packages/qthreads/package.py @@ -25,7 +25,7 @@ from spack import * -class Qthreads(Package): +class Qthreads(AutotoolsPackage): """The qthreads API is designed to make using large numbers of threads convenient and easy, and to allow portable access to threading constructs used in massively parallel shared memory @@ -48,10 +48,10 @@ class Qthreads(Package): depends_on("hwloc") - def install(self, spec, prefix): - configure("--prefix=%s" % prefix, - "--enable-guard-pages", - "--with-topology=hwloc", - "--with-hwloc=%s" % spec["hwloc"].prefix) - make() - make("install") + def configure_args(self): + spec = self.spec + args = [ + "--enable-guard-pages", + "--with-topology=hwloc", + "--with-hwloc=%s" % spec["hwloc"].prefix] + return args -- cgit v1.2.3-70-g09d2