diff options
author | sknigh <sknigh@sandia.gov> | 2019-11-11 13:13:48 -0800 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-11-11 15:13:48 -0600 |
commit | fdb85744e3ffc271ab6db157500ca7fa0a354aa1 (patch) | |
tree | e8c31c864372e35888f150ba6957f435d700743c /var | |
parent | 3eaa790efa71a5e43df0aef9648c3cc7051dc069 (diff) | |
download | spack-fdb85744e3ffc271ab6db157500ca7fa0a354aa1.tar.gz spack-fdb85744e3ffc271ab6db157500ca7fa0a354aa1.tar.bz2 spack-fdb85744e3ffc271ab6db157500ca7fa0a354aa1.tar.xz spack-fdb85744e3ffc271ab6db157500ca7fa0a354aa1.zip |
added lcov package (#13687)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/lcov/package.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/lcov/package.py b/var/spack/repos/builtin/packages/lcov/package.py new file mode 100644 index 0000000000..6c420ef3c8 --- /dev/null +++ b/var/spack/repos/builtin/packages/lcov/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2019 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 Lcov(MakefilePackage): + """LCOV is a graphical front-end for GCC's coverage testing tool gcov. + It collects gcov data for multiple source files and creates HTML pages + containing the source code annotated with coverage information. It also + adds overview pages for easy navigation within the file structure. LCOV + supports statement, function and branch coverage measurement.""" + + homepage = "http://ltp.sourceforge.net/coverage/lcov.php" + url = "https://github.com/linux-test-project/lcov/releases/download/v1.14/lcov-1.14.tar.gz" + + version('1.14', sha256='14995699187440e0ae4da57fe3a64adc0a3c5cf14feab971f8db38fb7d8f071a') + + def install(self, spec, prefix): + make("DESTDIR=", "PREFIX=%s" % prefix, "install") |