esmi: Clone open-source esmi repo as part of build

1. Remove esmi (internal gerrit) repo as git submodule
2. Clone esmi (open-source) repo during cmake using "git clone"
3. Download amd_hsmp.h header file during cmake build

TODO:
We can update the amd_hsmp.h to mainline linux kernel repo after
next Linux kernel release.

Change-Id: I763b5e287e24337c8e9e25f4e421cdb8698b9322


[ROCm/amdsmi commit: 597fb00bef]
Этот коммит содержится в:
Suma Hegde authored and Dmitrii Galantsev committed 2023-10-16 15:06:02 -04:00
1 родитель 45fb716d65
Коммит 1bf35b5c05
5 files changed
+20 -17

No files matched your search

+1 -1
Просмотреть файл
@@ -50,7 +50,7 @@ set(INC_LIST
"${PROJECT_SOURCE_DIR}/rocm_smi/include/rocm_smi/rocm_smi.h"
"${PROJECT_SOURCE_DIR}/rocm_smi/include/rocm_smi/rocm_smi_utils.h")
if(ESMI_AVAILABLE)
if(ENABLE_ESMI_LIB)
list(APPEND INC_LIST ${ESMI_INC_DIR}/e_smi/e_smi.h)
list(APPEND INC_LIST ${ESMI_INC_DIR}/e_smi/e_smi_monitor.h)
list(APPEND INC_LIST ${ESMI_INC_DIR}/e_smi/e_smi_utils.h)