summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam Moody <moody20@llnl.gov>2014-08-01 10:37:14 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2014-08-04 07:54:05 -0700
commita27e178ac27edf78c9c306a25091d6d1c36316e1 (patch)
tree35f7a7da6349b88f0ae35072de88fa9a19ece0cd /var
parent712a2c374284420c7c6d0a53e43b32577ae9471f (diff)
downloadspack-a27e178ac27edf78c9c306a25091d6d1c36316e1.tar.gz
spack-a27e178ac27edf78c9c306a25091d6d1c36316e1.tar.bz2
spack-a27e178ac27edf78c9c306a25091d6d1c36316e1.tar.xz
spack-a27e178ac27edf78c9c306a25091d6d1c36316e1.zip
add libcircle package
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/libcircle/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/packages/libcircle/package.py b/var/spack/packages/libcircle/package.py
new file mode 100644
index 0000000000..ae539969e7
--- /dev/null
+++ b/var/spack/packages/libcircle/package.py
@@ -0,0 +1,22 @@
+import os
+from spack import *
+
+class Libcircle(Package):
+ """libcircle provides an efficient distributed queue on a cluster, using self-stabilizing work stealing."""
+
+ homepage = "https://github.com/hpc/libcircle"
+ #url = "https://github.com/hpc/lwgrp/releases/download/v1.0.2/lwgrp-1.0.2.tar.gz"
+ url = "https://github.com/adammoody/libcircle/releases/download/v0.2.1-rc.1/libcircle-0.2.1-rc.1.tar.gz"
+
+ versions = { '0.2.1-rc.1' : 'a10a14e76ac2ad7357a4b21b794e8e4e' }
+
+ # need this hack because the URL plus version string below confuses URL expansion
+ # at url_for_version() in lib/spack/package.py
+ force_url = True
+
+ depends_on('mpi')
+
+ def install(self, spec, prefix):
+ configure("--prefix=" + prefix)
+ make()
+ make("install")