added lcov package (#13687)
This commit is contained in:
parent
3eaa790efa
commit
fdb85744e3
21
var/spack/repos/builtin/packages/lcov/package.py
Normal file
21
var/spack/repos/builtin/packages/lcov/package.py
Normal file
@ -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")
|
Loading…
Reference in New Issue
Block a user