-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sci-misc/llama-cpp build failure when enabling USE flag "blas" for sci-libs/ggml #9
Comments
@fpemud let me take a look, never tried the minimal build before |
@fpemud It should be good now. |
The following command runs successfully:
But this error comes back when "rocm" USE flag is enabled:
I see you reverted this line in ggml-0_p20250204.ebuild:
I don't know the detail, but I'm also feeling that GGML_HIP is better than GGML_HIPBLAS. |
@fpemud It may be a mistake, let me check later, I changed it just based on the cmake files. |
@fpemud I changed it from HIPBLAS TO HIP, because I can't find any HIPBLAS word in cmake, just add it back. |
I managed to build sci-libs/ggml with rocm USE flag after adding "-DCMAKE_HIP_COMPILER_ROCM_ROOT=/usr" in "mycmakeargs". |
emerge command (I've limited the USE flags to the bare minimum. The error still persists when other USE flags are enabled):
ggml installs successfully, but error occurs when installing llama-cpp and whisper-cpp. Error:
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:
The text was updated successfully, but these errors were encountered: