Created attachment 685614 [details] emerge --info output Emerging sci-libs/rocBLAS::science fail at configuration phase: CMake Error at /opt/gentoo/usr/lib64/cmake/Tensile/TensileConfig.cmake:65 (add_subdirectory): add_subdirectory given source "/Source" which is not an existing directory. Call Stack (most recent call first): CMakeLists.txt:211 (find_package) CMake Error at /opt/gentoo/usr/lib64/cmake/Tensile/TensileConfig.cmake:66 (include): include could not find load file: /Source/TensileCreateLibrary.cmake Call Stack (most recent call first): CMakeLists.txt:211 (find_package) -- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS -- Performing Test HIP_CLANG_SUPPORTS_PARALLEL_JOBS - Success -- Using AMDGPU_TARGETS: gfx803gfx900gfx906gfx908 -- ROCBLAS_GPUS=gfx803;gfx900;gfx906;gfx908 CMake Error at library/src/CMakeLists.txt:55 (TensileCreateLibraryCmake): Unknown CMake command "TensileCreateLibraryCmake". -- Configuring incomplete, errors occurred! TensileConfig.cmake cannot find Tensile_ROOT correctly, and result in cmake configuration failure. It needs fixing. Also, Tensile has many auxilary files(yaml, sources and headers), which should placed in /usr/share or /usr/lib rather than /usr/lib/python3.?/site-packages/Tensile
Created attachment 685617 [details] build.log of rocBLAS
Tensile installs source code to be compiled with rocBLAS. The easiest way forward is to compile rocBLAS and Tensile in one package, which means Tensile will be removed. It works as long as no other package depends on Tensile.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/sci.git/commit/?id=53da9141ac01271e8abb862025df966e852d68a4 commit 53da9141ac01271e8abb862025df966e852d68a4 Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2021-02-06 16:15:07 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2021-02-06 16:19:49 +0000 dev-util/Tensile: move to standard directories. Let cmake to be able to locate Tensile. Move source code out of the python site-packages tree. Reported-by: Yiyang Wu <xgreenlandforwyy@gmail.com>, Alexey Chernov Closes: https://bugs.gentoo.org/768474 Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: Benda Xu <heroxbd@gentoo.org> dev-util/Tensile/Tensile-4.0.0-r1.ebuild | 62 ++++++++++++++++++++++ dev-util/Tensile/Tensile-4.0.0.ebuild | 37 +++++++++++-- dev-util/Tensile/files/Tensile-4.0.0-cmake.patch | 38 +++++++++++++ .../files/Tensile-4.0.0-locate-commands.patch | 62 ++++++++++++++++++++++ .../files/Tensile-4.0.0-output-currentISA.patch | 22 ++++++++ .../files/Tensile-4.0.0-setup.py-cmake.patch | 13 +++++ 6 files changed, 231 insertions(+), 3 deletions(-)