summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/babeltrace/package.py21
-rw-r--r--var/spack/repos/builtin/packages/rocm-gdb/package.py2
2 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/babeltrace/package.py b/var/spack/repos/builtin/packages/babeltrace/package.py
new file mode 100644
index 0000000000..58e59b1862
--- /dev/null
+++ b/var/spack/repos/builtin/packages/babeltrace/package.py
@@ -0,0 +1,21 @@
+# 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 Babeltrace(AutotoolsPackage):
+ """Babeltrace is a trace viewer and converter reading and writing the
+ Common Trace Format (CTF). Its main use is to pretty-print CTF traces
+ into a human-readable text output ordered by time."""
+
+ homepage = "http://www.efficios.com/babeltrace"
+ url = "https://www.efficios.com/files/babeltrace/babeltrace-1.2.4.tar.bz2"
+
+ version('1.2.4', sha256='666e3a1ad2dc7d5703059963056e7800f0eab59c8eeb6be2efe4f3acc5209eb1')
+
+ depends_on('glib@2.22:', type=('build', 'link'))
+ depends_on('libuuid')
+ depends_on('popt')
diff --git a/var/spack/repos/builtin/packages/rocm-gdb/package.py b/var/spack/repos/builtin/packages/rocm-gdb/package.py
index 0af3beee0b..9c96aebe04 100644
--- a/var/spack/repos/builtin/packages/rocm-gdb/package.py
+++ b/var/spack/repos/builtin/packages/rocm-gdb/package.py
@@ -28,6 +28,8 @@ class RocmGdb(AutotoolsPackage):
depends_on('expat', type='build')
depends_on('python', type='build')
depends_on('zlib', type='link')
+ depends_on('babeltrace@1.2.4', type='link')
+
for ver in ['3.5.0', '3.7.0', '3.8.0']:
depends_on('rocm-dbgapi@' + ver, type='link', when='@' + ver)
depends_on('comgr@' + ver, type='link', when='@' + ver)