AMD ROCm rocm-gdb update with its dependency package - babeltrace (#19142)

This commit is contained in:
arjun-raj-kuppala 2020-10-07 06:54:38 -07:00 committed by GitHub
parent a12b03b8d4
commit 4d45aca3ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View File

@ -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')

View File

@ -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)