public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/amdsmi] rawhide: Update to 7.14
@ 2026-08-12 23:26 Tom Rix
0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-08-12 23:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/amdsmi
Branch : rawhide
Commit : 221673285cd7349e1d654e618d40492993dd370c
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-08-12T16:23:21-07:00
Stats : +16/-44 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/amdsmi/c/221673285cd7349e1d654e618d40492993dd370c?branch=rawhide
Log:
Update to 7.14
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/.gitignore b/.gitignore
index ce84b6b..9a175cb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,5 @@
/amdsmi-7.1.1.tar.gz
/amdsmi-7.2.0.tar.gz
/amdsmi-7.2.1.tar.gz
+/esmi_pkg_ver-5.2.1.tar.gz
+/amdsmi-7.14.0.tar.gz
diff --git a/amdsmi.spec b/amdsmi.spec
index 281fffd..df117ec 100644
--- a/amdsmi.spec
+++ b/amdsmi.spec
@@ -28,13 +28,12 @@
%if %{with preview}
%global rocm_release 7.14
%global rocm_patch 0
-%global pkg_src therock-%{rocm_release}
%else
-%global rocm_release 7.2
-%global rocm_patch 1
-%global pkg_src rocm-%{rocm_release}.%{rocm_patch}
+%global rocm_release 7.14
+%global rocm_patch 0
%endif
+%global pkg_src therock-%{rocm_release}
%global rocm_version %{rocm_release}.%{rocm_patch}
%bcond_with compat
@@ -42,12 +41,10 @@
%global pkg_libdir lib
%global pkg_prefix %{_prefix}/lib64/rocm/rocm-%{rocm_release}
%global pkg_suffix %{rocm_release}
-%global pkg_module rocm%{pkg_suffix}
%else
%global pkg_libdir %{_lib}
%global pkg_prefix %{_prefix}
%global pkg_suffix %{nil}
-%global pkg_module default
%endif
%if 0%{?suse_version}
@@ -75,18 +72,16 @@
%global build_static ON
%else
%global build_static OFF
-%if %{with preview}
# Test does not link without static libs, disable tests
%global build_test OFF
%endif
-%endif
Name: amdsmi%{pkg_suffix}
Version: %{rocm_version}
%if %{with preview}
Release: 1%{?dist}
%else
-Release: 8%{?dist}
+Release: 1%{?dist}
%endif
Summary: AMD System Management Interface
@@ -108,24 +103,16 @@ URL: https://github.com/ROCm/rocm-systems
Source0: %{url}/releases/download/%{pkg_src}/%{upstreamname}.tar.gz#/%{upstreamname}-%{version}.tar.gz
# esmi_ib_library is not suitable for packaging
# https://github.com/amd/esmi_ib_library/issues/13
-# This tag was choosen by the amdsmi project because 4.0+ introduced variables not
+# This tag was chosen by the amdsmi project because 4.0+ introduced variables not
# found in the upstream kernel.
-%if %{without preview}
-%global esmi_ver 4.2
-%else
%global esmi_ver 5.2.1
-%endif
Source1: https://github.com/amd/esmi_ib_library/archive/refs/tags/esmi_pkg_ver-%{esmi_ver}.tar.gz
-%if %{without preview}
-# https://github.com/ROCm/amdsmi/pull/165
-Patch1: 0001-Fix-compilation-with-libdrm-2.4.130.patch
-Patch2: 0001-amdsmi-silence-pack-warnings.patch
-%else
+# Build amdsminic as a SHARED library with version properties
# https://github.com/ROCm/rocm-systems/issues/4535
Patch1: 0001-amdsmi-so-libamdsminic.patch
+# Remove esmi version check that doesn't work without git files in source tarball
# https://github.com/ROCm/rocm-systems/issues/8761
Patch2: 0001-amdsmi-remove-esmi-version-check.patch
-%endif
ExclusiveArch: x86_64
@@ -134,6 +121,8 @@ BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: kernel-devel
BuildRequires: libdrm-devel
+BuildRequires: libmnl-devel
+BuildRequires: libnl3-devel
# No python install in compat mode.
%if %{without compat}
BuildRequires: python3-devel
@@ -148,11 +137,6 @@ BuildRequires: gtest-devel
%endif
%endif
-%if %{with preview}
-BuildRequires: libnl3-devel
-BuildRequires: libmnl-devel
-%endif
-
%if %{without compat}
Requires: python3dist(pyyaml)
%endif
@@ -203,7 +187,6 @@ Requires: libdrm-devel
%{summary}
%endif
-%if %{with preview}
%if %{with static}
%package static
Summary: Static libraries for %{name}
@@ -213,14 +196,9 @@ Provides: amdsmi%{pkg_suffix}-static = %{version}-%{release}
%description static
%{summary}
%endif
-%endif
%prep
-%if %{without preview}
-%autosetup -p1 -n %{upstreamname}
-%else
%autosetup -p3 -n %{upstreamname}
-%endif
tar xf %{SOURCE1}
mv esmi_ib_library-* esmi_ib_library
@@ -317,12 +295,9 @@ if [ -e %{buildroot}%{pkg_prefix}/share/tests ]; then
mv %{buildroot}%{pkg_prefix}/share/tests %{buildroot}%{pkg_prefix}/share/amdsmi/
fi
-%if %{with preview}
#ERROR 0002: file '/usr/lib/python3.14/site-packages/amdsmi/libamd_smi.so' contains an invalid runpath '/builddir/build/BUILD/amdsmi-7.12.0-build/amdsmi/redhat-linux-build/src/nic/ai-nic/amdsmi_unified/build' in [/builddir/build/BUILD/amdsmi-7.12.0-build/amdsmi/redhat-linux-build/src/nic/ai-nic/amdsmi_unified/build:]
chrpath -d %{buildroot}%{pkg_prefix}/lib/python%{python3_version}/site-packages/amdsmi/lib%{pkg_library_name}.so
-%endif
-
%if 0%{?suse_version}
%files
%{pkg_prefix}/bin/amd-smi
@@ -349,10 +324,8 @@ chrpath -d %{buildroot}%{pkg_prefix}/lib/python%{python3_version}/site-packages/
%{pkg_prefix}/libexec/amdsmi_cli
%{pkg_prefix}/lib/python%{python3_version}/site-packages/amdsmi
%endif
-%if %{with preview}
%{pkg_prefix}/%{pkg_libdir}/libamdsminic.so.*
%endif
-%endif
%files devel
%{pkg_prefix}/include/amd_smi/
@@ -362,27 +335,24 @@ chrpath -d %{buildroot}%{pkg_prefix}/lib/python%{python3_version}/site-packages/
%if %{without compat}
%{pkg_prefix}/%{pkg_libdir}/libgoamdsmi_shim64.so
%endif
-%if %{with preview}
%{pkg_prefix}/include/e_smi/
%{pkg_prefix}/include/rocm_smi/
%{pkg_prefix}/%{pkg_libdir}/libamdsminic.so
-%endif
-%if %{without preview}
%if %{with test}
%files test
%{pkg_prefix}/share/amdsmi/
%endif
-%endif
-%if %{with preview}
%if %{with static}
%files static
%{pkg_prefix}/%{pkg_libdir}/lib%{pkg_library_name}_static.a
%endif
-%endif
%changelog
+* Fri Aug 7 2026 Tom Rix <Tom.Rix@amd.com> - 7.14.0-1
+- Update to 7.14
+
* Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 7.2.1-8
- Rebuilt for Python 3.15.0b4 ABI change
diff --git a/sources b/sources
index 8512749..93cd606 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (amdsmi-7.2.1.tar.gz) = 9de6b27ca6a80c4ae01c36d39e42b918223763ca8582dc21e14337c070de17a8aaa0d57ead526ee158b9a27d460f829a6a347fd490b0dbadbebbd0cd7e767e39
-SHA512 (esmi_pkg_ver-4.2.tar.gz) = 8a86eb84f86cada75232a800ce81f151bfe4b77f119a1a19189abddf8473e7b7f860594a206303277f708497e86db34af519e061e5ff3bb9d860b943c5781b09
+SHA512 (esmi_pkg_ver-5.2.1.tar.gz) = 15bd2b674e871dffcb708cf636aea6c4963c7865a824c5214126f3c6b858fb986c1abbfe6a78fd5b3b442669610451f759a19dc0c5682e494295f9a1b52f8bb0
+SHA512 (amdsmi-7.14.0.tar.gz) = e9841dab31b30c5c40f3938677eddc2a87ae2707fdec6228fe167de0821e83f9530b719d1762f3ab9bd30fcf6ec5773c12c94d80d355cd4ff4abecfb90675436
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-12 23:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 23:26 [rpms/amdsmi] rawhide: Update to 7.14 Tom Rix
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox