summaryrefslogtreecommitdiff
path: root/var/spack/packages/lwgrp/package.py
blob: 5963382b925a7e944d06820fee7a3725f48e005e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import os
from spack import *

class Lwgrp(Package):
    """Thie light-weight group library provides process group
       representations using O(log N) space and time."""

    homepage = "https://github.com/hpc/lwgrp"
    url      = "https://github.com/hpc/lwgrp/releases/download/v1.0.2/lwgrp-1.0.2.tar.gz"

    version('1.0.2', 'ab7ba3bdd8534a651da5076f47f27d8a')

    depends_on('mpi')

    def install(self, spec, prefix):
        configure("--prefix=" + prefix)
        make()
        make("install")