fpchecker: add new package (#25550)

This commit is contained in:
Ignacio Laguna 2021-09-06 23:14:25 -07:00 committed by GitHub
parent 2e2fbc6408
commit a59edb2826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,28 @@
# 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 Fpchecker(CMakePackage):
"""FPChecker (Floating-Point Checker) is a dynamic analysis tool
to detect floating-point errors in HPC applications.
"""
homepage = "https://fpchecker.org/"
url = "https://github.com/LLNL/FPChecker/archive/refs/tags/v0.3.4.tar.gz"
maintainers = ['ilagunap']
version('0.3.4', sha256='ecea778dcddc8347da86b02069e12d574a3ba27a4f7c6224bf492fbff6cd162a')
depends_on('llvm@12.0.1')
depends_on('cmake@3.4:', type='build')
depends_on('python@3:', type='run')
def cmake_args(self):
args = ['-DCMAKE_C_COMPILER=clang', '-DCMAKE_CXX_COMPILER=clang++']
return args