summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrus Harrison <cyrush@llnl.gov>2020-07-14 19:42:38 -0700
committerGitHub <noreply@github.com>2020-07-14 19:42:38 -0700
commit6f6e896795f5daa3785361ca0bf1413b9f27a029 (patch)
tree3ed73f406250476f62d4781f60cdfc21bb585313
parent28a25080ca35577cf22745b0f250e5def8b7e66b (diff)
downloadspack-6f6e896795f5daa3785361ca0bf1413b9f27a029.tar.gz
spack-6f6e896795f5daa3785361ca0bf1413b9f27a029.tar.bz2
spack-6f6e896795f5daa3785361ca0bf1413b9f27a029.tar.xz
spack-6f6e896795f5daa3785361ca0bf1413b9f27a029.zip
New package: babelflow (#17500)
-rw-r--r--var/spack/repos/builtin/packages/babelflow/package.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/babelflow/package.py b/var/spack/repos/builtin/packages/babelflow/package.py
new file mode 100644
index 0000000000..568f8bf7c8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/babelflow/package.py
@@ -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