You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Installion/compilation for hip : Unknown target amdgcn--amdhsa for libclc V7.1.1 #23372
I try to install v7.1.1 and the buildbot/configure.py program returns an error. It seems the CMakeLists.txt for libcl does not recognize a target option although it is implemented in the configure.py program.
Make Error at /......./libclc/CMakeLists.txt:221 (message):
Unknown target in LIBCLC_TARGETS_TO_BUILD: "amdgcn--amdhsa"
Valid targets are:
amdgcn--;amdgcn-amd-amdhsa;clspv--;clspv64--;r600--;nvptx64--;nvptx64--nvidiacl;nvptx64-nvidia-cuda;amdgcn-mesa-mesa3d
Environment
Linux RH 9.6
AMD GPU gfx90a and gfx942
for clang 22
with rocm/6.4.3
compiler clang19
@cloirec Hi, I see that this issue is fixed in the latest version (v7.2.0). Could you please try using this version?
I will close this issue for now, but please feel free to reopen it if you need any further help.
Activity
bratpiorka commentedon Oct 8, 2026
Hi @cloirec, would you like to address this issue yourself? We are no longer actively developing the HIP adapter.
cloirec commentedon Oct 22, 2026
Hi,
I used this patch ( patch_cmake_libclc_v7.1.1.txt ) with a SPIRV-Tools pre-installation following :
It seems to work.
bratpiorka commentedon Oct 30, 2026
@cloirec Hi, I see that this issue is fixed in the latest version (v7.2.0). Could you please try using this version?
I will close this issue for now, but please feel free to reopen it if you need any further help.