summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2022-04-08 02:30:40 +0200
committerGitHub <noreply@github.com>2022-04-07 17:30:40 -0700
commit08c73e456cbc949b7f31f1722105cbd6f2680b27 (patch)
tree7d05ef7a62ef70982d22b851beb4df296345c5c5 /var
parent3a6ff4dd9249e7e24603279ca7dac43654e71d0d (diff)
downloadspack-08c73e456cbc949b7f31f1722105cbd6f2680b27.tar.gz
spack-08c73e456cbc949b7f31f1722105cbd6f2680b27.tar.bz2
spack-08c73e456cbc949b7f31f1722105cbd6f2680b27.tar.xz
spack-08c73e456cbc949b7f31f1722105cbd6f2680b27.zip
New package: dwz (#29832)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/dwz/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dwz/package.py b/var/spack/repos/builtin/packages/dwz/package.py
new file mode 100644
index 0000000000..7451e82898
--- /dev/null
+++ b/var/spack/repos/builtin/packages/dwz/package.py
@@ -0,0 +1,25 @@
+# Copyright 2013-2022 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 Dwz(MakefilePackage, SourcewarePackage):
+ """DWZ: A DWARF optimization and duplicate removal tool"""
+
+ homepage = "https://sourceware.org/dwz/"
+ sourceware_mirror_path = "dwz/releases/dwz-0.14.tar.gz"
+ git = "git://sourceware.org/git/dwz.git"
+
+ maintainers = ['iarspider']
+
+ depends_on('libelf')
+
+ version('0.14-patches', branch='dwz-0.14-branch')
+ version('0.14', sha256='33006eab875ff0a07f13fc885883c5bd9514d83ecea9f18bc46b5732dddf0d1f', preferred=True)
+
+ def install(self, spec, prefix):
+ mkdirp(prefix.bin)
+ install('dwz', prefix.bin)