AMD ROCm rocm-gdb update with its dependency package - babeltrace (#19142)
This commit is contained in:
parent
a12b03b8d4
commit
4d45aca3ea
21
var/spack/repos/builtin/packages/babeltrace/package.py
Normal file
21
var/spack/repos/builtin/packages/babeltrace/package.py
Normal 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')
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user