Skip to content

Commit

Permalink
rocm-core: update to 6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GZGavinZhao committed Apr 7, 2024
1 parent 1441d83 commit 3693704
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
13 changes: 4 additions & 9 deletions packages/r/rocm-core/package.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
name : rocm-core
version : 5.5.1
release : 4
version : 6.0.0
release : 5
source :
- https://github.com/RadeonOpenCompute/rocm-core/archive/refs/tags/rocm-5.5.1.tar.gz : bc73060432ffdc2e210394835d383890b9652476074ef4708d447473f273ce76
- https://github.com/ROCm/rocm-core/archive/refs/tags/rocm-6.0.0.tar.gz : d950ee4b63336f34579b6e1dda2d05966b7afa9c84bcdc13874991d1147dc788
homepage : https://github.com/RadeonOpenCompute/rocm-core
license : MIT
component : programming.library
summary : A utility which can be used to get ROCm release version
description: |
rocm-core is a utility which can be used to get ROCm release version. It also provides the Lmod modules files for the ROCm release. The getROCmVersion function provides the ROCm version.
environment: |
# Upstream fricked up linker flags appending
unset LDFLAGS
setup : |
%cmake_ninja -DROCM_VERSION=%version%
build : |
%ninja_build
install : |
%ninja_install
# Unfortunately, this is one of the two ways to detect ROCm version, so we
# actually have to keep it!
# rm -r $installdir/usr/.info
ln -s rocm-core/rocm_version.h $installdir/usr/include/rocm_version.h
ln -s version $installdir/usr/.info/version-dev
14 changes: 9 additions & 5 deletions packages/r/rocm-core/pspec_x86_64.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,11 @@
<Path fileType="data">/usr/.info/version</Path>
<Path fileType="data">/usr/.info/version-dev</Path>
<Path fileType="library">/usr/lib64/librocm-core.so.1</Path>
<Path fileType="library">/usr/lib64/librocm-core.so.1.0.50501</Path>
<Path fileType="library">/usr/lib64/librocm-core.so.1.0.60000</Path>
<Path fileType="library">/usr/lib64/rocmmod</Path>
<Path fileType="executable">/usr/libexec/rocm-core/runpath_to_rpath.py</Path>
<Path fileType="doc">/usr/share/doc/rocm-core-asan/LICENSE.txt</Path>
<Path fileType="doc">/usr/share/doc/rocm-core/LICENSE.txt</Path>
</Files>
</Package>
<Package>
Expand All @@ -34,17 +37,18 @@
</Description>
<PartOf>programming.devel</PartOf>
<RuntimeDependencies>
<Dependency release="4">rocm-core</Dependency>
<Dependency release="5">rocm-core</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/rocm-core/rocm_version.h</Path>
<Path fileType="header">/usr/include/rocm_version.h</Path>
<Path fileType="library">/usr/lib64/librocm-core.so</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2024-01-06</Date>
<Version>5.5.1</Version>
<Update release="5">
<Date>2024-02-21</Date>
<Version>6.0.0</Version>
<Comment>Packaging update</Comment>
<Name>Gavin Zhao</Name>
<Email>me@gzgz.dev</Email>
Expand Down

0 comments on commit 3693704

Please sign in to comment.