summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2017-05-09 18:58:44 -0400
committerAdam J. Stewart <ajstewart426@gmail.com>2017-05-09 17:58:44 -0500
commit44440d023dae13b7a6b167e8364d71cc83922da7 (patch)
tree1a21028266b3ccd9a69e0b644eb671aec6836565 /var
parent0e02f993238712220f3925629f4698adfe03a52e (diff)
downloadspack-44440d023dae13b7a6b167e8364d71cc83922da7.tar.gz
spack-44440d023dae13b7a6b167e8364d71cc83922da7.tar.bz2
spack-44440d023dae13b7a6b167e8364d71cc83922da7.tar.xz
spack-44440d023dae13b7a6b167e8364d71cc83922da7.zip
qthreads: Convert to AutoTools package (#4176)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/qthreads/package.py16
1 files changed, 8 insertions, 8 deletions
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