CFLAGS/CXXFLAGS: -O2 -pipe -march=native Traceback: File "/usr/lib/python-exec/python3.12/TensileCreateLibrary", line 8, in <module> sys.exit(TensileCreateLibrary()) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/Tensile/TensileCreateLibrary.py", line 1301, in TensileCreateLibrary theMasterLibrary = list(masterLibraries.values())[0] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^ IndexError: list index out of range
Davide Costa, which USE flags and AMDGPU_TARGETS do you use?
Please always include the full build.log and emerge --info.
Created attachment 896559 [details] build.log
Created attachment 896560 [details] emerge --info
(In reply to Sv. Lockal from comment #1) > Davide Costa, which USE flags and AMDGPU_TARGETS do you use? No flags except AMDGPU_TARGETS="gfx1031 gfx1032". I even tried with gfx1031 only with no luck
Tried compiling it with AMDGPU_FLAGS="gfx1031 gfx1030" and it works. "gfx1032" is not really an existing flag, so I guess it needs at least 2 existing flags to compile.
I have an gfx1012 and had to add an additional target, gfx1030 in my case, for it to compile for me also. The failure is shortly into the build process.
Created attachment 897754 [details] Additional failure build.log
Created attachment 897755 [details] Additional emerge info when failing
The build issue was fixed in dev-util/Tensile-6.3.0 (i. e. code was massively refactored, so there is no more place for IndexError when compiling rocBLAS). I have no information if rocBLAS-6.3.0 works with gfx1012, but it should (i. e. this target is in the list of supported targets for rocBLAS). Regarding backporting patch from Tensile-6.3.0 to Tensile-6.1.1 - I don't think it makes sense (as I mentioned, it was a sequence of refactoring changes, so I can't extract a single change). So if 6.3.0 release works for you, I propose to close this task.