Skip to content

Commit

Permalink
fastor: new package (spack#44984)
Browse files Browse the repository at this point in the history
* fastor: new package

* fastor: apply code suggestions and fix style
  • Loading branch information
wdconinc authored Jul 2, 2024
1 parent 5b4edb9 commit f47c307
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions var/spack/repos/builtin/packages/fastor/package.py
Original file line number Diff line number Diff line change
@@ -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("[email protected]:", type="build")

def cmake_args(self):
return [self.define("BUILD_TESTING", self.run_tests)]

0 comments on commit f47c307

Please sign in to comment.