add libcircle package

This commit is contained in:
Adam Moody 2014-08-01 10:37:14 -07:00 committed by Todd Gamblin
parent 712a2c3742
commit a27e178ac2

View file

@ -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")