summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorElsa Gonsiorowski, PhD <gonsie@me.com>2018-12-14 07:08:57 -0800
committerAdam J. Stewart <ajstewart426@gmail.com>2018-12-14 09:08:57 -0600
commit76bfdd65fc8a561f539f03862dde06418b1c72cb (patch)
tree44965593c79277ded0814655ee1704b12d830100 /var
parent3432a7143031afd7219270f9233426e7125e2764 (diff)
downloadspack-76bfdd65fc8a561f539f03862dde06418b1c72cb.tar.gz
spack-76bfdd65fc8a561f539f03862dde06418b1c72cb.tar.bz2
spack-76bfdd65fc8a561f539f03862dde06418b1c72cb.tar.xz
spack-76bfdd65fc8a561f539f03862dde06418b1c72cb.zip
make dtcmp an autotools spackage (#10095)
* make dtcmp an autotools spackage * better code
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/dtcmp/package.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/dtcmp/package.py b/var/spack/repos/builtin/packages/dtcmp/package.py
index 2b93cf1ce2..7d8c0540c5 100644
--- a/var/spack/repos/builtin/packages/dtcmp/package.py
+++ b/var/spack/repos/builtin/packages/dtcmp/package.py
@@ -6,7 +6,7 @@
from spack import *
-class Dtcmp(Package):
+class Dtcmp(AutotoolsPackage):
"""The Datatype Comparison Library provides comparison operations and
parallel sort algorithms for MPI applications."""
@@ -19,8 +19,5 @@ class Dtcmp(Package):
depends_on('mpi')
depends_on('lwgrp')
- def install(self, spec, prefix):
- configure("--prefix=" + prefix,
- "--with-lwgrp=" + spec['lwgrp'].prefix)
- make()
- make("install")
+ def configure_args(self):
+ return ["--with-lwgrp=" + self.spec['lwgrp'].prefix]