Today I tried to build whisper.cpp and got an error:
Code: Select all
$ cmake build
...
-- Adding CPU backend variant ggml-cpu: -march=native
CMake Warning at ggml/src/ggml-blas/CMakeLists.txt:9 (find_package):
By not providing "FindBLAS.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "BLAS", but
CMake did not find one.
Could not find a package configuration file provided by "BLAS" with any of
the following names:
BLASConfig.cmake
blas-config.cmake
Add the installation prefix of "BLAS" to CMAKE_PREFIX_PATH or set
"BLAS_DIR" to a directory containing one of the above files. If "BLAS"
provides a separate development package or SDK, be sure it has been
installed.
CMake Error at ggml/src/ggml-blas/CMakeLists.txt:84 (message):
BLAS not found, please refer to
https://cmake.org/cmake/help/latest/module/FindBLAS.html#blas-lapack-vendors
to set correct GGML_BLAS_VENDOR
emerge --info: https://pastebin.com/UcdDPp98
Update: I tried that again today and everything worked. Since then, I updated dev-build/cmake
to 4.1.4, sys-devel/gcc to 14.3.1_p20260213, kde-frameworks/extra-cmake-modules to 6.23.0 and sci-libs/openblas to 0.3.31. Same sci-libs/flexiblas-3.5.0, as before. The problems may or may not had been caused by incompatible libraries in /lib64 left after hardware failure recovery.
Code: Select all
qfile -o $(find /bin /sbin /lib* /usr/{bin/,games/,include/,lib*/,sbin/,x86_64-pc-linux-gnu/} -mtime 150 -type f)

