Add numbers to .so because wheels dont allow symlinks (#820)

Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>

[ROCm/amdsmi commit: 8bdf951d32]
This commit is contained in:
Galantsev, Dmitrii
2025-11-06 03:57:31 -06:00
committed by GitHub
parent 4e8d89306e
commit 181659ea1f
3 changed files with 3 additions and 3 deletions
@@ -184,7 +184,7 @@ def find_smi_library():
err = OSError("Could not load libamd_smi.so")
possible_locations = []
# 0.
libamd_smi_path = Path(__file__).resolve().parent.parent.parent.parent / "lib/libamd_smi.so"
libamd_smi_path = Path(__file__).resolve().parent.parent.parent.parent / "lib/libamd_smi.so.26"
possible_locations.append(libamd_smi_path)
# 1.
rocm_path = os.getenv("ROCM_HOME", os.getenv("ROCM_PATH"))