summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam Moody <moody20@llnl.gov>2014-07-31 18:56:38 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2014-08-04 07:54:04 -0700
commit6e7a7d127daa5bb2aafad6411f6c3cf4dbc2c640 (patch)
tree87a12bd93a78751136caebc7ef6985ffb4331d51 /var
parent3dd8e561b90159de9ee57a7449298a4df09b3186 (diff)
downloadspack-6e7a7d127daa5bb2aafad6411f6c3cf4dbc2c640.tar.gz
spack-6e7a7d127daa5bb2aafad6411f6c3cf4dbc2c640.tar.bz2
spack-6e7a7d127daa5bb2aafad6411f6c3cf4dbc2c640.tar.xz
spack-6e7a7d127daa5bb2aafad6411f6c3cf4dbc2c640.zip
adding dtcmp package
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/dtcmp/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/packages/dtcmp/package.py b/var/spack/packages/dtcmp/package.py
new file mode 100644
index 0000000000..400028bd6f
--- /dev/null
+++ b/var/spack/packages/dtcmp/package.py
@@ -0,0 +1,20 @@
+import os
+from spack import *
+
+class Dtcmp(Package):
+ """The Datatype Comparison Library provides comparison operations and parallel sort algorithms for MPI applications."""
+
+ homepage = "https://github.com/hpc/dtcmp"
+ url = "https://github.com/hpc/dtcmp/releases/download/v1.0.3/dtcmp-1.0.3.tar.gz"
+
+ versions = { '1.0.3' : 'cdd8ccf71e8ff67de2558594a7fcd317' }
+ #version('1.0.3', 'cdd8ccf71e8ff67de2558594a7fcd317')
+
+ depends_on('mpi')
+ depends_on('lwgrp')
+
+ def install(self, spec, prefix):
+ configure("--prefix=" + prefix,
+ "--with-lwgrp=" + spec['lwgrp'].prefix)
+ make()
+ make("install")