New package: babelflow (#17500)
This commit is contained in:
parent
28a25080ca
commit
6f6e896795
1 changed files with 31 additions and 0 deletions
31
var/spack/repos/builtin/packages/babelflow/package.py
Normal file
31
var/spack/repos/builtin/packages/babelflow/package.py
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Copyright 2013-2020 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"
|
||||
git = 'https://github.com/sci-visus/BabelFlow.git'
|
||||
|
||||
maintainers = ['spetruzza']
|
||||
|
||||
version('develop',
|
||||
branch='ascent',
|
||||
submodules=True)
|
||||
|
||||
depends_on('mpi')
|
||||
|
||||
variant("shared", default=True, description="Build Babelflow as shared libs")
|
||||
|
||||
def cmake_args(self):
|
||||
args = [
|
||||
'-DBUILD_SHARED_LIBS:BOOL={0}'.format(
|
||||
'ON' if '+shared' in spec else 'OFF')]
|
||||
return args
|
Loading…
Reference in a new issue