Get the hash value and pass it to rdcd and rdci

Want to display version information along with the hash value.

Change-Id: I0f9ad576f8f66747ce2e84d4f524ccd16d399927
Signed-off-by: Chen Gong <curry.gong@amd.com>


[ROCm/rdc commit: ac874d3921]
このコミットが含まれているのは:
Chen Gong
2024-08-21 10:44:51 +08:00
committed by Galantsev, Dmitrii
コミット 5db56b48eb
3個のファイルの変更、10行の追加、0行の削除
+1
ファイルの表示
@@ -80,6 +80,7 @@ configure_file("${SERVER_CONFIG_FILE}" "${PROJECT_BINARY_DIR}/${SERVER_CONFIG_FI
link_directories(${SMI_LIB_DIR})
add_executable(${SERVER_DAEMON_EXE} "${SERVER_SRC_LIST}")
target_compile_definitions(${SERVER_DAEMON_EXE} PRIVATE CURRENT_GIT_HASH=${GIT_HASH})
# help find librdc_bootstrap.so at runtime
set_target_properties(${SERVER_DAEMON_EXE}