public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Rix <Tom.Rix@amd.com>
To: git-commits@fedoraproject.org
Subject: [rpms/amdsmi] rawhide: Update preview to 7.14
Date: Fri, 17 Jul 2026 14:52:30 GMT [thread overview]
Message-ID: <178429995068.1.3725839958294916758.rpms-amdsmi-ac7039f81caf@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/amdsmi
Branch : rawhide
Commit : ac7039f81cafdbce6eea4b576efebe0fc1304012
Author : Tom Rix <Tom.Rix@amd.com>
Date : 2026-07-17T07:51:39-07:00
Stats : +79/-3 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/amdsmi/c/ac7039f81cafdbce6eea4b576efebe0fc1304012?branch=rawhide
Log:
Update preview to 7.14
Signed-off-by: Tom Rix <Tom.Rix@amd.com>
---
diff --git a/0001-amdsmi-remove-esmi-version-check.patch b/0001-amdsmi-remove-esmi-version-check.patch
new file mode 100644
index 0000000..c600cc8
--- /dev/null
+++ b/0001-amdsmi-remove-esmi-version-check.patch
@@ -0,0 +1,69 @@
+From 4e278f6c59d8edf5ff992b5ec6502e0773cd99b8 Mon Sep 17 00:00:00 2001
+From: Tom Rix <Tom.Rix@amd.com>
+Date: Fri, 17 Jul 2026 07:09:34 -0700
+Subject: [PATCH] amdsmi remove esmi version check
+
+---
+ projects/amdsmi/CMakeLists.txt | 46 ----------------------------------
+ 1 file changed, 46 deletions(-)
+
+diff --git a/projects/amdsmi/CMakeLists.txt b/projects/amdsmi/CMakeLists.txt
+index 1ab9b2ddc416..d2fd930af3d7 100644
+--- a/projects/amdsmi/CMakeLists.txt
++++ b/projects/amdsmi/CMakeLists.txt
+@@ -262,52 +262,6 @@ if(ENABLE_ESMI_LIB)
+ # Supported esmi library version tag
+ set(current_esmi_tag "esmi_pkg_ver-5.2.1.1")
+
+- if(NOT EXISTS ${PROJECT_SOURCE_DIR}/esmi_ib_library/src)
+- # TODO: use ExternalProject_Add instead or a submodule
+- message(STATUS "Adding esmi_ib_library...")
+- execute_process(
+- COMMAND
+- git clone --depth=1 -b ${current_esmi_tag} https://github.com/amd/esmi_ib_library.git
+- ${PROJECT_SOURCE_DIR}/esmi_ib_library
+- )
+- else()
+- message(STATUS "esmi_ib_library already installed, checking version...")
+-
+- # Grab latest commit and get the tag
+- execute_process(
+- COMMAND git rev-list --tags --max-count=1
+- WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/esmi_ib_library
+- OUTPUT_VARIABLE latest_commit
+- OUTPUT_STRIP_TRAILING_WHITESPACE
+- )
+- execute_process(
+- COMMAND git describe --tags ${latest_commit} --match "*pkg*"
+- WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/esmi_ib_library
+- OUTPUT_VARIABLE latest_esmi_tag
+- OUTPUT_STRIP_TRAILING_WHITESPACE
+- )
+-
+- # Update to latest tags if not matched
+- if(NOT latest_esmi_tag STREQUAL current_esmi_tag)
+- message(STATUS "Updating esmi_ib_library...")
+- execute_process(
+- COMMAND
+- git clone --depth=1 -b ${current_esmi_tag} https://github.com/amd/esmi_ib_library.git
+- ${PROJECT_SOURCE_DIR}/esmi_ib_library_temp
+- RESULT_VARIABLE clone_result
+- )
+- if(clone_result EQUAL 0)
+- file(REMOVE_RECURSE ${PROJECT_SOURCE_DIR}/esmi_ib_library)
+- file(RENAME ${PROJECT_SOURCE_DIR}/esmi_ib_library_temp ${PROJECT_SOURCE_DIR}/esmi_ib_library)
+- message(STATUS "Successfully cloned updated esmi_ib_library")
+- else()
+- file(REMOVE_RECURSE ${PROJECT_SOURCE_DIR}/esmi_ib_library_temp)
+- message(FATAL_ERROR "Failed to clone updated esmi_ib_library")
+- endif()
+- else()
+- message(STATUS "esmi_ib_library is the latest version: ${current_esmi_tag}...")
+- endif()
+- endif()
+
+ # Make sure to update the amd_hsmp.h file with the corresponding esmi version
+ file(
+--
+2.54.0
+
diff --git a/amdsmi.spec b/amdsmi.spec
index 56ebd55..551196a 100644
--- a/amdsmi.spec
+++ b/amdsmi.spec
@@ -26,7 +26,7 @@
%bcond_with preview
%if %{with preview}
-%global rocm_release 7.13
+%global rocm_release 7.14
%global rocm_patch 0
%global pkg_src therock-%{rocm_release}
%else
@@ -84,7 +84,7 @@
Name: amdsmi%{pkg_suffix}
Version: %{rocm_version}
%if %{with preview}
-Release: 3%{?dist}
+Release: 0%{?dist}
%else
Release: 7%{?dist}
%endif
@@ -113,7 +113,7 @@ Source0: %{url}/releases/download/%{pkg_src}/%{upstreamname}.tar.gz#/%{upstre
%if %{without preview}
%global esmi_ver 4.2
%else
-%global esmi_ver 5.1.1
+%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}
@@ -123,6 +123,8 @@ Patch2: 0001-amdsmi-silence-pack-warnings.patch
%else
# https://github.com/ROCm/rocm-systems/issues/4535
Patch1: 0001-amdsmi-so-libamdsminic.patch
+# https://github.com/ROCm/rocm-systems/issues/8761
+Patch2: 0001-amdsmi-remove-esmi-version-check.patch
%endif
ExclusiveArch: x86_64
@@ -146,6 +148,11 @@ BuildRequires: gtest-devel
%endif
%endif
+%if %{with preview}
+BuildRequires: libnl3-devel
+BuildRequires: libmnl-devel
+%endif
+
%if %{without compat}
Requires: python3dist(pyyaml)
%endif
reply other threads:[~2026-07-17 14:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178429995068.1.3725839958294916758.rpms-amdsmi-ac7039f81caf@fedoraproject.org \
--to=tom.rix@amd.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox