Files
gentoo/dev-util/amdsmi/files/amdsmi-7.0.2-no-git.patch
Sv. Lockal bba5c918ff dev-util/amdsmi: new package, add 7.0.2
This package includes amd-smi cli tool, libraries and python bindings
and serves as a replacement to dev-util/rocm-smi, as it reaches
"maintenance mode" (only critical bug fixes will be applied) and new
features and hardware are added only to the new amd-smi tool.

Bug: https://bugs.gentoo.org/964799
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44165
Closes: https://github.com/gentoo/gentoo/pull/44165
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-21 19:47:38 +01:00

22 lines
805 B
Diff

Should not check and update esmi_ib_library in network isolation
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,7 +39,7 @@ find_package(PkgConfig)
generic_add_rocm()
# provide git to utilities
-find_program(GIT NAMES git)
+# find_program(GIT NAMES git)
## Setup the package version based on git tags.
set(PKG_VERSION_GIT_TAG_PREFIX "amdsmi_pkg_ver")
@@ -126,7 +126,7 @@ if(ENABLE_ESMI_LIB)
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()
+ elseif(FALSE)
message(STATUS "esmi_ib_library already installed, checking version...")
# Grab latest commit and get the tag