spack/var/spack/repos/builtin/packages/flit/package.py
Todd Gamblin a8ccb8e116 copyrights: update all files with license headers for 2021
- [x] add `concretize.lp`, `spack.yaml`, etc. to licensed files
- [x] update all licensed files to say 2013-2021 using
      `spack license update-copyright-year`
- [x] appease mypy with some additions to package.py that needed
      for oneapi.py
2021-01-02 12:12:00 -08:00

32 lines
1.1 KiB
Python

# Copyright 2013-2021 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 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"
url = "https://github.com/PRUNERS/FLiT/archive/v2.1.0.tar.gz"
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')
depends_on('gmake', type=('run', 'build'))
depends_on('sqlite@3:', type='run')
def edit(self, spec, prefix):
env['PREFIX'] = prefix