spack/var/spack/repos/builtin/packages/libabigail/package.py
Vanessasaurus 7f91c1a510
Merge pull request #21930 from vsoch/add/spack-monitor
This provides initial support for [spack monitor](https://github.com/spack/spack-monitor), a web application that stores information and analysis about Spack installations.  Spack can now contact a monitor server and upload analysis -- even after a build is already done.

Specifically, this adds:
- [x] monitor options for `spack install`
- [x] `spack analyze` command
- [x] hook architecture for analyzers
- [x] separate build logs (in addition to the existing combined log)
- [x] docs for spack analyze
- [x] reworked developer docs, with hook docs
- [x] analyzers for:
  - [x] config args
  - [x] environment variables
  - [x] installed files
  - [x] libabigail

There is a lot more information in the docs contained in this PR, so consult those for full details on this feature.

Additional tests will be added in a future PR.
2021-04-15 00:38:36 -07:00

29 lines
961 B
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 Libabigail(AutotoolsPackage):
"""The ABI Generic Analysis and Instrumentation Library"""
homepage = "https://sourceware.org/libabigail"
url = "https://mirrors.kernel.org/sourceware/libabigail/libabigail-1.8.tar.gz"
version('1.8', sha256='1cbf260b894ccafc61b2673ba30c020c3f67dbba9dfa88dca3935dff661d665c')
variant('docs', default=False, description='build documentation')
depends_on('elfutils', type=('build', 'link'))
depends_on('libdwarf')
depends_on('libxml2')
# Libabigail won't generate it's bin without Python
depends_on('python@3.8:')
# Documentation dependencies
depends_on('doxygen', type="build", when="+docs")
depends_on('py-sphinx', type='build', when="+docs")