From ef9a607c4c3bd01d6bcf3141244fd2941725e92f Mon Sep 17 00:00:00 2001 From: Vanessasaurus <814322+vsoch@users.noreply.github.com> Date: Fri, 5 Mar 2021 15:09:08 -0700 Subject: libabigail: new package (#22092) * adding package for libabigail, which we likely will need to use it for an analysis! * includes variant for documentation (doxygen and pysphinx are associated dependencies) --- .../repos/builtin/packages/libabigail/package.py | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 var/spack/repos/builtin/packages/libabigail/package.py diff --git a/var/spack/repos/builtin/packages/libabigail/package.py b/var/spack/repos/builtin/packages/libabigail/package.py new file mode 100644 index 0000000000..f59f4324bd --- /dev/null +++ b/var/spack/repos/builtin/packages/libabigail/package.py @@ -0,0 +1,25 @@ +# 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') + + # Documentation dependencies + depends_on('doxygen', type="build", when="+docs") + depends_on('py-sphinx', type='build', when="+docs") -- cgit v1.2.3-70-g09d2