Closed
Description
emerge command (I've limited the USE flags to the bare minimum. The error still persists when other USE flags are enabled):
USE="blas -cuda -kompute -mkl -opencl -openmp -rocm -sycl -vulkan" emerge -1 ggml llama-cpp whisper-cpp
ggml installs successfully, but error occurs when installing llama-cpp and whisper-cpp. Error:
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libggml-blas.so: undefined reference to `cblas_sgemm'
I think full build log is not needed.
(in fact I have problem uploading it due to my network)
I know that sci-libs/ggml depends on sci-libs/openblas from the ebuild file, USE flags of sci-libs/openblas:
sh-5.2# equery uses openblas
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for sci-libs/openblas-0.3.26-r1:
U I
- - dynamic : Build dynamic architecture detection at run time (for multi targets)
+ + eselect-ldso : Enable BLAS/LAPACK runtime switching
- - index-64bit : Compile a separate INTERFACE64 OpenBLAS
+ + openmp : Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp"
- - pthread : Build with pthread threading model
- - relapack : Build the ReLAPACK extension to OpenBLAS
- - test : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled
independently)
Metadata
Metadata
Assignees
Labels
No labels