summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHariharan Devarajan <mani.hariharan@gmail.com>2023-08-09 12:18:52 -0600
committerGitHub <noreply@github.com>2023-08-09 11:18:52 -0700
commitc24471834b494d756fee3bffc90a49e5eeee90d7 (patch)
treef91d26fb4e414a1690425a88e2177f9ad3c753cc
parentb1e33ae37bc88efa96a919d9f54a5d4f87299edd (diff)
downloadspack-c24471834b494d756fee3bffc90a49e5eeee90d7.tar.gz
spack-c24471834b494d756fee3bffc90a49e5eeee90d7.tar.bz2
spack-c24471834b494d756fee3bffc90a49e5eeee90d7.tar.xz
spack-c24471834b494d756fee3bffc90a49e5eeee90d7.zip
Release brahma 0.0.1 (#39345)
* release brahma 0.0.1
-rw-r--r--var/spack/repos/builtin/packages/brahma/package.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/brahma/package.py b/var/spack/repos/builtin/packages/brahma/package.py
new file mode 100644
index 0000000000..e760f98d6d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/brahma/package.py
@@ -0,0 +1,28 @@
+# Copyright 2013-2023 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.package import *
+
+
+class Brahma(CMakePackage):
+ """Interceptor library for I/O calls using Gotcha"""
+
+ homepage = "https://github.com/hariharan-devarajan/brahma"
+ git = "https://github.com/hariharan-devarajan/brahma.git"
+ maintainers("hariharan-devarajan")
+
+ version("develop", branch="dev")
+ version("master", branch="master")
+ version("0.0.1", tag="v0.0.1")
+
+ variant("mpi", default=False, description="Enable MPI support")
+ depends_on("cpp-logger@0.0.1")
+ depends_on("gotcha@develop")
+ depends_on("catch2@3.0.1")
+
+ depends_on("mpi", when="+mpi")
+
+ def cmake_args(self):
+ return [self.define_from_variant("BUILD_WITH_MPI", "mpi")]