2021-01-02 15:10:28 +08:00
|
|
|
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2017-11-30 16:05:40 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2017-11-30 16:05:40 +08:00
|
|
|
|
|
|
|
from spack 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"
|
2020-04-02 11:05:58 +08:00
|
|
|
url = "https://github.com/PRUNERS/FLiT/archive/v2.1.0.tar.gz"
|
2017-11-30 16:05:40 +08:00
|
|
|
|
2020-04-02 11:05:58 +08:00
|
|
|
version('2.1.0', sha256='b31ffa02fda1ab0f5555acdc6edc353d93d53ae8ef85e099f83bcf1c83e70885')
|
|
|
|
|
|
|
|
maintainers = ['mikebentley15']
|
2017-11-30 16:05:40 +08:00
|
|
|
|
|
|
|
# Add dependencies
|
2020-04-02 11:05:58 +08:00
|
|
|
depends_on('python@3:', type='run')
|
|
|
|
depends_on('py-toml', type='run')
|
|
|
|
depends_on('py-pyelftools', type='run')
|
|
|
|
depends_on('gmake', type=('run', 'build'))
|
|
|
|
depends_on('sqlite@3:', type='run')
|
|
|
|
|
|
|
|
def edit(self, spec, prefix):
|
|
|
|
env['PREFIX'] = prefix
|