summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2020-08-29 00:10:58 -0400
committerGitHub <noreply@github.com>2020-08-28 23:10:58 -0500
commitd08d0f2732959ececd5ab6c4c5dcbddd2378a6d2 (patch)
tree02b3a33eb6eb7c908e55cf7d6523027519bfd55f
parent654f52bc080e7d3a86eb4dbb359a6c34ce21dacb (diff)
downloadspack-d08d0f2732959ececd5ab6c4c5dcbddd2378a6d2.tar.gz
spack-d08d0f2732959ececd5ab6c4c5dcbddd2378a6d2.tar.bz2
spack-d08d0f2732959ececd5ab6c4c5dcbddd2378a6d2.tar.xz
spack-d08d0f2732959ececd5ab6c4c5dcbddd2378a6d2.zip
new package: qcachegrind@20.08.0 (#18295)
Co-authored-by: Andrew Elble <aweits@localhost.localdomain>
-rw-r--r--var/spack/repos/builtin/packages/qcachegrind/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/qcachegrind/package.py b/var/spack/repos/builtin/packages/qcachegrind/package.py
new file mode 100644
index 0000000000..ff9c436795
--- /dev/null
+++ b/var/spack/repos/builtin/packages/qcachegrind/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)
+
+
+class Qcachegrind(QMakePackage):
+ """{K,Q}Cachegrind is a KDE/Qt GUI to visualize profiling data.
+ It's mainly used as visualization frontend for data measured
+ by Cachegrind/Callgrind tools from the Valgrind package, but
+ there are converters for other measurement tools available.
+ Also provides the command-line tool 'cgview'"""
+
+ homepage = "https://github.com/KDE/kcachegrind"
+ url = "https://github.com/KDE/kcachegrind/archive/v20.08.0.tar.gz"
+
+ version('20.08.0', sha256='ffb50a7c536042ff11eed714b359b8bc419cb12402a31ebe78c3d06363f234e6')
+
+ depends_on('qt@5.2:')
+ depends_on('graphviz', type='run')
+
+ def install(self, spec, prefix):
+ mkdir(prefix.bin)
+ install('cgview/cgview', prefix.bin)
+ install('qcachegrind/qcachegrind', prefix.bin)