summaryrefslogtreecommitdiff
path: root/var/spack/packages/libcircle/package.py
blob: ae539969e7d0a6972284056298e4af33679b7124 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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")