summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-11-04 21:37:24 +0800
committerGitHub <noreply@github.com>2020-11-04 14:37:24 +0100
commit44d406a1aa5f661f4a334f7e4c4861058772c65b (patch)
tree53651d644ea1114aaa11c7d0f04241b61604867c
parentefb26bb14ff70c4dcf789240c2e6b21b2323c010 (diff)
downloadspack-44d406a1aa5f661f4a334f7e4c4861058772c65b.tar.gz
spack-44d406a1aa5f661f4a334f7e4c4861058772c65b.tar.bz2
spack-44d406a1aa5f661f4a334f7e4c4861058772c65b.tar.xz
spack-44d406a1aa5f661f4a334f7e4c4861058772c65b.zip
Add new package: abi-compliance-checker (#18737)
* Add new package: abi-compliance-checker * refine dependencies * change exuberant-ctags to universal-ctags
-rw-r--r--var/spack/repos/builtin/packages/abi-compliance-checker/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/abi-compliance-checker/package.py b/var/spack/repos/builtin/packages/abi-compliance-checker/package.py
new file mode 100644
index 0000000000..6e6b919bb3
--- /dev/null
+++ b/var/spack/repos/builtin/packages/abi-compliance-checker/package.py
@@ -0,0 +1,25 @@
+# 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 AbiComplianceChecker(MakefilePackage):
+ """A tool for checking backward compatibility of a C/C++ library API."""
+
+ homepage = "https://github.com/lvc/abi-compliance-checker"
+ url = "https://github.com/lvc/abi-compliance-checker/archive/2.3.tar.gz"
+
+ version('2.3', sha256='b1e32a484211ec05d7f265ab4d2c1c52dcdb610708cb3f74d8aaeb7fe9685d64')
+ version('2.2', sha256='9fb7b17e33d49e301d02a6374fbd2596feb53ecc77194879a4e1c2d1e24b4ddb')
+ version('2.1', sha256='0e19ea16b6c6aa6c7b222063127427bef3b835adbbd9e6606a972a912599d014')
+
+ depends_on('abi-dumper@1.1:')
+ depends_on('perl@5:')
+ depends_on('binutils')
+ depends_on('universal-ctags')
+
+ def install(self, spec, prefix):
+ make('prefix={0}'.format(prefix), 'install')