The package rpms/rocm-runtime.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rocm-runtime.git/commit/?id=ed35a...
https://src.fedoraproject.org/cgit/rpms/rocm-runtime.git/commit/?id=52b4e....
Change:
+ExclusiveArch: x86_64 aarch64 ppc64le
+%ifarch x86_64
Thanks.
Full change:
============
commit e71a28f4299671c8db2a71ef5987a8b0340c47c8
Merge: 0a59d48 72c706c
Author: Jeremy Newton <alexjnewt(a)hotmail.com>
Date: Thu Apr 14 08:42:12 2022 -0400
Merge branch 'rawhide' into f36
commit 72c706c7c7dd1d72b8e73b237385c107217dbf24
Author: Jeremy Newton <alexjnewt(a)hotmail.com>
Date: Sat Apr 9 13:12:05 2022 -0400
Update to 5.1.1
diff --git a/.gitignore b/.gitignore
index d2c5677..bdbc5f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/rocm-3.5.0.tar.gz
/rocm-runtime-5.0.0.tar.gz
/rocm-runtime-5.1.0.tar.gz
+/rocm-runtime-5.1.1.tar.gz
diff --git a/rocm-runtime.spec b/rocm-runtime.spec
index dc76b6c..56d2cf6 100644
--- a/rocm-runtime.spec
+++ b/rocm-runtime.spec
@@ -4,8 +4,8 @@
%endif
Name: rocm-runtime
-Version: 5.1.0
-Release: 2%{?dist}
+Version: 5.1.1
+Release: 1%{?dist}
Summary: ROCm Runtime Library
License: NCSA
@@ -78,6 +78,9 @@ rm -rf %{buildroot}/usr/hsa
%{_libdir}/cmake/hsa-runtime64/
%changelog
+* Sat Apr 09 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.1-1
+- Update to ROCm version 5.1.1
+
* Tue Apr 05 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-2
- Enable ppc64le
diff --git a/sources b/sources
index c2a354f..29e49ae 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rocm-runtime-5.1.0.tar.gz) =
cb9e5b2a82cb1ba2efbc5a1e0bd0e302970cc5a550662e1f641bee083f8a05e957d58e4630fb7112a5b68eb29afe374e9cb2f0737e23316485f6df0e1c1aec5e
+SHA512 (rocm-runtime-5.1.1.tar.gz) =
d4c64534bb27fe5c27b5d4a62cc94aedff3b3be9a1d2a2db470fa3362d52b73e78a167e6dabd4d89cff51f5311e4e2fce4413ee72f4a84da3abbd42b7bd1ace5
commit ed35a388659e6724e0df8ada49708f224d4c6ea4
Author: Jeremy Newton <Jeremy.Newton(a)amd.com>
Date: Tue Apr 5 11:28:29 2022 -0400
Enable ppc64le
Following suit with enablement in hsakmt
Signed-off-by: Jeremy Newton <Jeremy.Newton(a)amd.com>
diff --git a/rocm-runtime.spec b/rocm-runtime.spec
index 2341076..dc76b6c 100644
--- a/rocm-runtime.spec
+++ b/rocm-runtime.spec
@@ -5,7 +5,7 @@
Name: rocm-runtime
Version: 5.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: ROCm Runtime Library
License: NCSA
@@ -16,7 +16,7 @@ Source0:
https://github.com/RadeonOpenCompute/ROCR-Runtime/archive/refs/tags/
Patch0: 0001-Use-CMAKE_INSTALL_LIBDIR.patch
Patch1: 0002-fix-link-time-ordering-condition.patch
-ExclusiveArch: x86_64 aarch64
+ExclusiveArch: x86_64 aarch64 ppc64le
BuildRequires: clang
BuildRequires: cmake
@@ -78,6 +78,9 @@ rm -rf %{buildroot}/usr/hsa
%{_libdir}/cmake/hsa-runtime64/
%changelog
+* Tue Apr 05 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-2
+- Enable ppc64le
+
* Thu Mar 31 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-1
- Update to ROCm version 5.1.0
commit 10631d02bbcb78bbd4b6f955ddecf7bfc0f92aa0
Author: Mystro256 <alexjnewt(a)hotmail.com>
Date: Thu Mar 31 12:01:59 2022 -0400
Update to 5.1.0
Also changed spec not to create the build directory, but rather let the
cmake macro do that.
diff --git a/.gitignore b/.gitignore
index 25a2208..d2c5677 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
/roc-2.0.0.tar.gz
/rocm-3.5.0.tar.gz
/rocm-runtime-5.0.0.tar.gz
+/rocm-runtime-5.1.0.tar.gz
diff --git a/rocm-runtime.spec b/rocm-runtime.spec
index 24ce29f..2341076 100644
--- a/rocm-runtime.spec
+++ b/rocm-runtime.spec
@@ -4,8 +4,8 @@
%endif
Name: rocm-runtime
-Version: 5.0.0
-Release: 2%{?dist}
+Version: 5.1.0
+Release: 1%{?dist}
Summary: ROCm Runtime Library
License: NCSA
@@ -50,17 +50,13 @@ ROCm Runtime development files
%autosetup -n ROCR-Runtime-rocm-%{version} -p1
%build
-mkdir build
-cd build
-
-%cmake ../src -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+%cmake -S src -DCMAKE_BUILD_TYPE=RelWithDebInfo \
%{?!enableimage:-DIMAGE_SUPPORT=OFF} \
-DBITCODE_DIR="%{_libdir}/amdgcn/bitcode"
%cmake_build
%install
-cd build
%cmake_install
# We install this via license macro instead:
@@ -82,6 +78,9 @@ rm -rf %{buildroot}/usr/hsa
%{_libdir}/cmake/hsa-runtime64/
%changelog
+* Thu Mar 31 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-1
+- Update to ROCm version 5.1.0
+
* Tue Feb 15 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-2
- Enable image support for x86
diff --git a/sources b/sources
index ccc4433..c2a354f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rocm-runtime-5.0.0.tar.gz) =
e80f9c747cf9568097d4b77e4c5f03706238d2b97a8910bc036ca82383d33b79fc0922d414ee2f6ad21ef76c41130de09cdb828d66ec1518fc2fb0f2b79ba246
+SHA512 (rocm-runtime-5.1.0.tar.gz) =
cb9e5b2a82cb1ba2efbc5a1e0bd0e302970cc5a550662e1f641bee083f8a05e957d58e4630fb7112a5b68eb29afe374e9cb2f0737e23316485f6df0e1c1aec5e
commit c57d2b6cae06a466e8d78c502c56f03b2b75f90d
Author: Jeremy Newton <alexjnewt(a)hotmail.com>
Date: Wed Feb 16 10:15:49 2022 -0500
Fix description
typos, spacing.
diff --git a/rocm-runtime.spec b/rocm-runtime.spec
index 9e540a8..24ce29f 100644
--- a/rocm-runtime.spec
+++ b/rocm-runtime.spec
@@ -31,12 +31,11 @@ BuildRequires: vim-common
%endif
%description
-The ROCm Runtime Library is is a thin, user-mode API that exposes the
-necessary interfaces to access and interact with graphics hardware driven by
-the AMDGPU driver set and the AMDKFD kernel driver. Together they enable
-programmers to directly harness the power of AMD discrete graphics devices by
-allowing host applications to launch compute kernels directly to the graphics
-hardware.
+The ROCm Runtime Library is a thin, user-mode API that exposes the necessary
+interfaces to access and interact with graphics hardware driven by the AMDGPU
+driver set and the AMDKFD kernel driver. Together they enable programmers to
+directly harness the power of AMD discrete graphics devices by allowing host
+applications to launch compute kernels directly to the graphics hardware.
%package devel
Summary: ROCm Runtime development files
commit 52b4ec435e45f20068703972ac84957dceb3686e
Author: Mystro256 <alexjnewt(a)hotmail.com>
Date: Fri Feb 11 14:12:13 2022 -0500
Enable image support
Image support only works on x86. Switch to building with clang, since
image support requires it.
diff --git a/rocm-runtime.spec b/rocm-runtime.spec
index 242b45b..9e540a8 100644
--- a/rocm-runtime.spec
+++ b/rocm-runtime.spec
@@ -1,6 +1,11 @@
+#Image support is x86 only
+%ifarch x86_64
+%global enableimage 1
+%endif
+
Name: rocm-runtime
Version: 5.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: ROCm Runtime Library
License: NCSA
@@ -13,11 +18,17 @@ Patch1: 0002-fix-link-time-ordering-condition.patch
ExclusiveArch: x86_64 aarch64
-BuildRequires: gcc
-BuildRequires: gcc-c++
+BuildRequires: clang
BuildRequires: cmake
BuildRequires: elfutils-libelf-devel
BuildRequires: hsakmt-devel
+%if 0%{?enableimage}
+BuildRequires: clang-devel
+BuildRequires: lld-devel
+BuildRequires: llvm-devel
+BuildRequires: rocm-device-libs
+BuildRequires: vim-common
+%endif
%description
The ROCm Runtime Library is is a thin, user-mode API that exposes the
@@ -43,7 +54,9 @@ ROCm Runtime development files
mkdir build
cd build
-%cmake ../src -DIMAGE_SUPPORT=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo
+%cmake ../src -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ %{?!enableimage:-DIMAGE_SUPPORT=OFF} \
+ -DBITCODE_DIR="%{_libdir}/amdgcn/bitcode"
%cmake_build
@@ -70,6 +83,9 @@ rm -rf %{buildroot}/usr/hsa
%{_libdir}/cmake/hsa-runtime64/
%changelog
+* Tue Feb 15 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-2
+- Enable image support for x86
+
* Fri Feb 11 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.0.0-1
- Update to ROCm version 5.0.0
- General improvements to spec file