diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-11-03 18:20:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-03 11:20:06 +0100 |
commit | 03b740431616b35fe1bbe70ac69fe9508390389c (patch) | |
tree | 01998c4d2c7991c2a1e8170b3fde8b498be8e8c3 | |
parent | d38fdb3854cbcada368efd48c3faf44dea960e2f (diff) | |
download | spack-03b740431616b35fe1bbe70ac69fe9508390389c.tar.gz spack-03b740431616b35fe1bbe70ac69fe9508390389c.tar.bz2 spack-03b740431616b35fe1bbe70ac69fe9508390389c.tar.xz spack-03b740431616b35fe1bbe70ac69fe9508390389c.zip |
Add new package: abi-dumper (#18738)
* Add new package: abi-dumper
* refine dependencies
-rw-r--r-- | var/spack/repos/builtin/packages/abi-dumper/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/abi-dumper/package.py b/var/spack/repos/builtin/packages/abi-dumper/package.py new file mode 100644 index 0000000000..75e90d0fb2 --- /dev/null +++ b/var/spack/repos/builtin/packages/abi-dumper/package.py @@ -0,0 +1,27 @@ +# Copyright 2013-2020 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 AbiDumper(MakefilePackage): + """ABI Dumper is a tool to dump ABI of an ELF object containing + DWARF debug info.""" + + homepage = "https://github.com/lvc/abi-dumper" + url = "https://github.com/lvc/abi-dumper/archive/1.1.tar.gz" + + version('1.1', sha256='ef63201368e0d76a29d2f7aed98c488f6fb71898126762d65baed1e762988083') + version('1.0', sha256='bfa0189a172fa788afc603b1ae675808a57556a77a008e4af8f643d396c34bbb') + version('0.99.19', sha256='6bbc35795839a04523d9e7bdb07806b9a661e17d8be0e755c99e4235805d4528') + + depends_on('perl@5:') + depends_on('elfutils') + depends_on('binutils') + depends_on('universal-ctags') + depends_on('vtable-dumper@1.1:') + + def install(self, spec, prefix): + make('prefix={0}'.format(prefix), 'install') |