From 791ad2407cf019bc3da06447ea086d2a5f34218b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Mollier?= Date: Mon, 23 Oct 2023 16:31:58 -0500 Subject: [PATCH] CMake - Set rocm_smi64 soversion to 1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream soversion is at 5 for a while, but Debian's soversion has been set to 1 in the beginning of the rocm-smi-lib package. This is probably erroneous, and the library should probably be better off being synchronized with upstream so there is some kind of ABI compatibility between the two distributions. . FIXME: please use upstream soversion next time an ABI breakage justifies an SOVERSION bump, instead of just incrementing the present version by one. Author: Étienne Mollier Forwarded: not-needed Last-Update: 2023-09-17 Change-Id: I6c4d28bd26889359c0b83c474d5ae58a81741cf4 Co-authored-by: Étienne Mollier Signed-off-by: Galantsev, Dmitrii [ROCm/amdsmi commit: 1775ae4b8dd434a1b2748f9e8092dbe7a88fd350] --- projects/amdsmi/rocm_smi/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/amdsmi/rocm_smi/CMakeLists.txt b/projects/amdsmi/rocm_smi/CMakeLists.txt index 08b2599542..ee53412e09 100755 --- a/projects/amdsmi/rocm_smi/CMakeLists.txt +++ b/projects/amdsmi/rocm_smi/CMakeLists.txt @@ -39,7 +39,7 @@ message("Package version: ${PKG_VERSION_STR}") # Debian package specific variables # Set a default value for the package version -get_version_from_tag("5.0.0.0" ${SO_VERSION_GIT_TAG_PREFIX} GIT) +get_version_from_tag("1.0.0.0" ${SO_VERSION_GIT_TAG_PREFIX} GIT) # VERSION_* variables should be set by get_version_from_tag if ( ${ROCM_PATCH_VERSION} )