hipamd icon indicating copy to clipboard operation
hipamd copied to clipboard

FAIL to build hipamd with pal lib. How to do that?

Open lumg2000 opened this issue 2 years ago • 0 comments

I met a problem. I'd like to build hipamd with pal lib on linux. But it failed.
It seemed to lack libelf and hsail. where to get them ?

CMake Error at /home/lumg/ROCm/ROCclr/cmake/FindAMD_HSA_LOADER.cmake:55 (add_subdirectory): add_subdirectory given source "AMD_LIBELF_INCLUDE_DIR-NOTFOUND" which is not an existing directory. Call Stack (most recent call first): /home/lumg/ROCm/ROCclr/cmake/ROCclrPAL.cmake:53 (find_package) /home/lumg/ROCm/ROCclr/cmake/ROCclr.cmake:134 (include) src/cmake/FindROCclr.cmake:51 (include) src/CMakeLists.txt:60 (find_package)

CMake Error at /home/lumg/ROCm/ROCclr/cmake/FindAMD_HSA_LOADER.cmake:56 (add_subdirectory): add_subdirectory given source "AMD_HSAIL_INCLUDE_DIR-NOTFOUND/../ext/libamdhsacode" which is not an existing directory. Call Stack (most recent call first): /home/lumg/ROCm/ROCclr/cmake/ROCclrPAL.cmake:53 (find_package) /home/lumg/ROCm/ROCclr/cmake/ROCclr.cmake:134 (include) src/cmake/FindROCclr.cmake:51 (include) src/CMakeLists.txt:60 (find_package)

CMake Error at /home/lumg/ROCm/ROCclr/cmake/FindAMD_HSA_LOADER.cmake:57 (add_subdirectory): add_subdirectory given source "AMD_HSAIL_INCLUDE_DIR-NOTFOUND/../ext/loader" which is not an existing directory. Call Stack (most recent call first): /home/lumg/ROCm/ROCclr/cmake/ROCclrPAL.cmake:53 (find_package) /home/lumg/ROCm/ROCclr/cmake/ROCclr.cmake:134 (include) src/cmake/FindROCclr.cmake:51 (include) src/CMakeLists.txt:60 (find_package)

lumg2000 avatar Mar 15 '23 11:03 lumg2000