From 57467139e52af09824cf46996be7701ad482b059 Mon Sep 17 00:00:00 2001 From: Stephen Nicholas Swatman Date: Wed, 19 Jun 2024 19:34:32 +0200 Subject: 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. --- var/spack/repos/builtin/packages/covfie/package.py | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 var/spack/repos/builtin/packages/covfie/package.py 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 -- cgit v1.2.3-70-g09d2