Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.
This repository was 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

@lumg2000

Description

@lumg2000

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions