blob: 7372f3f795e81db1b1484e88bf0af63235f104bd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class Lwgrp(AutotoolsPackage):
"""Thie light-weight group library provides process group
representations using O(log N) space and time."""
homepage = "https://github.com/LLNL/lwgrp"
url = "https://github.com/LLNL/lwgrp/releases/download/v1.0.2/lwgrp-1.0.2.tar.gz"
git = "https://github.com/LLNL/lwgrp.git"
version('main', branch='main')
version('1.0.4', sha256='0c933df7658660a0225f8e3a940eb2621efa4421397859417c8d90d906d4e90a')
version('1.0.3', sha256='20b2fc3908bfdf04d1c177f86e227a147214cd155c548b3dd75e54c78e1c1c47')
version('1.0.2', sha256='c9d4233946e40f01efd0b4644fd9224becec51b9b5f8cbf45f5bac3129b5b536')
depends_on('mpi')
variant('shared', default=True, description='Build with shared libraries')
def configure_args(self):
return self.enable_or_disable('shared')
|