Skip to content

Commit

Permalink
Package the ROCgdb debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Mar 10, 2023
1 parent 8398f95 commit ed70667
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmssw-tool-conf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ Requires: icc
Requires: icx
Requires: intel-vtune
Requires: rocm
#Requires: rocm-rocgdb
Requires: rocm-rocrand
Requires: cmsmon-tools
Requires: dip
Expand Down
20 changes: 20 additions & 0 deletions rocm-rocgdb.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
### RPM external rocm-rocgdb 5.4.3
## NOCOMPILER
Source0: https://repo.radeon.com/rocm/rhel%{rhel}/%{realversion}/main/rocm-gdb-12.1.50403-121.el%{rhel}.%{_arch}.rpm
Requires: gcc
Requires: expat
Requires: rocm
Requires: python3

%prep

%build
rpm2cpio %{SOURCE0} | cpio -idmv

%install
rmdir %{i}
mv opt/rocm-%{realversion} %{i}
rm -rf opt
rm -rf usr

%post
7 changes: 7 additions & 0 deletions scram-tools.file/tools/rocm/rocm-rocgdb.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<tool name="rocm-rocgdb" version="@TOOL_VERSION@">
<info url="https://github.com/ROCm-Developer-Tools/ROCgdb"/>
<client>
<environment name="ROCM_ROCGDB_BASE" default="@TOOL_ROOT@"/>
</client>
<runtime name="PATH" value="$ROCM_ROCGDB_BASE/bin" type="path"/>
</tool>

0 comments on commit ed70667

Please sign in to comment.