summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorWouter Deconinck <wdconinc@gmail.com>2024-07-02 10:33:09 -0500
committerGitHub <noreply@github.com>2024-07-02 09:33:09 -0600
commitf47c307bf4121ee09859321b9350aa43cab70a4e (patch)
tree9dbb0e6fb3ea24c51d8c3a09c1d1b5c53df244bb /var
parent5b4edb9499921747a3c36963e301d5e1981481c7 (diff)
downloadspack-f47c307bf4121ee09859321b9350aa43cab70a4e.tar.gz
spack-f47c307bf4121ee09859321b9350aa43cab70a4e.tar.bz2
spack-f47c307bf4121ee09859321b9350aa43cab70a4e.tar.xz
spack-f47c307bf4121ee09859321b9350aa43cab70a4e.zip
fastor: new package (#44984)
* fastor: new package * fastor: apply code suggestions and fix style
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/fastor/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/fastor/package.py b/var/spack/repos/builtin/packages/fastor/package.py
new file mode 100644
index 0000000000..56df1e409e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fastor/package.py
@@ -0,0 +1,25 @@
+# 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 Fastor(CMakePackage):
+ """Fastor is a lightweight high performance tensor algebra framework
+ for modern C++."""
+
+ homepage = "https://github.com/romeric/Fastor"
+ url = "https://github.com/romeric/Fastor/archive/refs/tags/V0.6.4.tar.gz"
+
+ maintainers("wdconinc")
+
+ license("MIT", checked_by="wdconinc")
+
+ version("0.6.4", sha256="c97a3b9dbb92413be90689af9d942cddee12a74733cf42f1a8014965553a11f8")
+
+ depends_on("cmake@3.20:", type="build")
+
+ def cmake_args(self):
+ return [self.define("BUILD_TESTING", self.run_tests)]