summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Nicholas Swatman <stephenswat@gmail.com>2024-06-19 19:34:32 +0200
committerGitHub <noreply@github.com>2024-06-19 10:34:32 -0700
commit57467139e52af09824cf46996be7701ad482b059 (patch)
tree7137aed7f365f7fcce0082683befd18ab22c5963
parente8bc53f37bbe627e0c013f14b436577e78855563 (diff)
downloadspack-57467139e52af09824cf46996be7701ad482b059.tar.gz
spack-57467139e52af09824cf46996be7701ad482b059.tar.bz2
spack-57467139e52af09824cf46996be7701ad482b059.tar.xz
spack-57467139e52af09824cf46996be7701ad482b059.zip
covfie: new package (#44771)
This commit adds the covfie package which facilitates the high-performance storage of vector fields and other structured multi-dimensional data.
-rw-r--r--var/spack/repos/builtin/packages/covfie/package.py37
1 files changed, 37 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/covfie/package.py b/var/spack/repos/builtin/packages/covfie/package.py
new file mode 100644
index 0000000000..264fc827b8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/covfie/package.py
@@ -0,0 +1,37 @@
+# Copyright 2013-2024 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 Covfie(CMakePackage, CudaPackage):
+ """
+ Covfie is a library for compositional descriptions of storage methods for
+ vector fields and other structured multi-dimensional data.
+ """
+
+ homepage = "https://github.com/acts-project/covfie"
+ url = "https://github.com/acts-project/covfie/archive/refs/tags/v0.1.0.tar.gz"
+ list_url = "https://github.com/acts-project/covfie/tags"
+
+ license("MPL-2.0")
+
+ maintainers("stephenswat")
+
+ version("0.10.0", sha256="d44142b302ffc193ad2229f1d2cc6d8d720dd9da8c37989ada4f23018f86c964")
+
+ variant("concepts", default=False, description="Enforce C++20 concepts")
+
+ depends_on("cmake@3.18:", type="build")
+
+ def cmake_args(self):
+ args = [
+ self.define("COVFIE_PLATFORM_CPU", True),
+ self.define_from_variant("COVFIE_PLATFORM_CUDA", "cuda"),
+ self.define_from_variant("COVFIE_REQUIRE_CXX20", "concepts"),
+ self.define("COVFIE_QUIET", True),
+ ]
+
+ return args