Closed ghostplant closed 6 months ago
@ghostplant It recommend switch hcc to clang, after ROCm-3.3. Please refer here : https://github.com/xuhuisheng/rocm-build/blob/master/19.hip.sh
@xuhuisheng It ends up with:
Found Static rocclr lib:LIBROCclr_STATIC_DIR-NOTFOUND and rocclr includes: ROCclr_DIR-NOTFOUND
-- Profiling API: /opt/rocm/roctracer/include/ext
-- Code Object Manager found at /opt/rocm/lib/cmake/amd_comgr.
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
CMake Error at rocclr/CMakeLists.txt:160 (include):
include could not find load file:
LIBROCclr_STATIC_DIR-NOTFOUND/amdrocclr_staticTargets.cmake
How should I install this cmake file? Is it possible not to build all ROCm components from start?
hip required install rocclr first. https://github.com/xuhuisheng/rocm-build/blob/master/18.rocclr.sh
my suggest is getting sources code by repo, and build component one by one.
@ghostplant Please check if you are still having trouble building with latest ROCm 6.0.2 (HIP 6.0.32831)? If not, please close the ticket. Thanks.
The legacy method is build HIP 4.0 is no longer working:
Since HIP has dropped support for HCC, so how should I set
-DHCC_HOME
?