make dtcmp an autotools spackage (#10095)
* make dtcmp an autotools spackage * better code
This commit is contained in:
parent
3432a71430
commit
76bfdd65fc
@ -6,7 +6,7 @@
|
|||||||
from spack import *
|
from spack import *
|
||||||
|
|
||||||
|
|
||||||
class Dtcmp(Package):
|
class Dtcmp(AutotoolsPackage):
|
||||||
"""The Datatype Comparison Library provides comparison operations and
|
"""The Datatype Comparison Library provides comparison operations and
|
||||||
parallel sort algorithms for MPI applications."""
|
parallel sort algorithms for MPI applications."""
|
||||||
|
|
||||||
@ -19,8 +19,5 @@ class Dtcmp(Package):
|
|||||||
depends_on('mpi')
|
depends_on('mpi')
|
||||||
depends_on('lwgrp')
|
depends_on('lwgrp')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def configure_args(self):
|
||||||
configure("--prefix=" + prefix,
|
return ["--with-lwgrp=" + self.spec['lwgrp'].prefix]
|
||||||
"--with-lwgrp=" + spec['lwgrp'].prefix)
|
|
||||||
make()
|
|
||||||
make("install")
|
|
||||||
|
Loading…
Reference in New Issue
Block a user