Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

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

Open
lumg2000 opened this issue Mar 15, 2023 · 0 comments
Open

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

lumg2000 opened this issue Mar 15, 2023 · 0 comments

Comments

@lumg2000
Copy link

lumg2000 commented Mar 15, 2023

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant