blob: 8aaad29b0098c6029e8e04b390dfdca0e0faf83a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# 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 Flit(MakefilePackage):
"""Floating-point Litmus Tests (FLiT) is a C++ test infrastructure for
detecting variability in floating-point code caused by variations in
compiler code generation, hardware and execution environments."""
homepage = "https://pruners.github.io/flit"
url = "https://github.com/PRUNERS/FLiT/archive/v2.1.0.tar.gz"
git = "https://github.com/PRUNERS/FLiT.git"
tags = ["e4s"]
version("develop", branch="devel")
version("2.1.0", sha256="b31ffa02fda1ab0f5555acdc6edc353d93d53ae8ef85e099f83bcf1c83e70885")
maintainers("mikebentley15")
# Add dependencies
depends_on("python@3:", type="run")
depends_on("py-toml", type="run")
depends_on("py-pyelftools", type="run", when="@:2.1.0")
depends_on("gmake", type=("run", "build"))
depends_on("sqlite@3:", type="run")
def edit(self, spec, prefix):
env["PREFIX"] = prefix
|