Skip to content

Commit

Permalink
Add ROCm 5.0.2 for x86_64
Browse files Browse the repository at this point in the history
For more information, see the documentation at:
  - ROCm 5.0:   https://docs.amd.com/category/ROCm_v5.0
  - ROCm 5.0.2: https://docs.amd.com/category/ROCm_v5.0.2
  • Loading branch information
fwyzard committed Apr 18, 2022
1 parent bda28b8 commit ad930c2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmssw-tool-conf.spec
Expand Up @@ -166,6 +166,7 @@ Requires: oracle
Requires: icc
Requires: icx
Requires: intel-vtune
Requires: rocm
Requires: cmsmon-tools
Requires: dip
%else
Expand Down
20 changes: 20 additions & 0 deletions rocm.spec
@@ -0,0 +1,20 @@
### RPM external rocm 5.0.2
## NOCOMPILER
Source: none
Provides: libamd_comgr.so.2()(64bit)
Provides: libhsa-runtime64.so.1()(64bit)
Provides: librocm-core.so.1()(64bit)
Provides: librocm_smi64.so.5()(64bit)

%prep

%build

%install

%post
OSDIR=/cvmfs/patatrack.cern.ch/externals/%{_arch}/rhel%{rhel}
if ! [ -d $OSDIR ]; then
OSDIR=/cvmfs/patatrack.cern.ch/externals/%{_arch}/unknown
fi
ln -s ${OSDIR}/amd/%{n}-%{realversion}/* ${RPM_INSTALL_PREFIX}/%{pkgrel}/

0 comments on commit ad930c2

Please sign in to comment.