blob: d6d84c56253ba36eb2940f361dcc947a5b520c5e (
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
28
29
30
31
32
|
# 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 Babelflow(CMakePackage):
"""BabelFlow is an Embedded Domain Specific Language to describe
algorithms using a task graph abstraction which allows them to be
executed on top of one of several available runtime systems."""
homepage = "https://github.com/sci-visus/BabelFlow"
url = "https://github.com/sci-visus/BabelFlow/archive/v1.0.1.tar.gz"
git = 'https://github.com/sci-visus/BabelFlow.git'
maintainers = ['spetruzza']
version('1.0.1', sha256='b7817870b7a1d7ae7ae2eff1a1acec2824675fb856f666d5dc95c41ce453ae91')
version('1.0.0', sha256='4c4d7ddf60e25e8d3550c07875dba3e46e7c9e61b309cc47a409461b7ffa405e')
depends_on('mpi')
variant("shared", default=True, description="Build Babelflow as shared libs")
def cmake_args(self):
spec = self.spec
args = [
'-DBUILD_SHARED_LIBS:BOOL={0}'.format(
'ON' if '+shared' in spec else 'OFF')]
return args
|