diff --git a/sci-ml/ollama/ollama-0.13.5.ebuild b/sci-ml/ollama/ollama-0.13.5-r1.ebuild similarity index 98% rename from sci-ml/ollama/ollama-0.13.5.ebuild rename to sci-ml/ollama/ollama-0.13.5-r1.ebuild index 36e1132793..34c4726698 100644 --- a/sci-ml/ollama/ollama-0.13.5.ebuild +++ b/sci-ml/ollama/ollama-0.13.5-r1.ebuild @@ -233,8 +233,13 @@ src_configure() { local mycmakeargs=( -DGGML_CCACHE="no" + # backends end up in /usr/bin otherwise + -DGGML_BACKEND_DL="yes" + -DGGML_BACKEND_DIR="${EPREFIX}/usr/$(get_libdir)/${PN}/backends" + # -DGGML_CPU="yes" -DGGML_BLAS="$(usex blas)" + # -DGGML_CUDA="$(usex cuda)" # -DGGML_HIP="$(usex rocm)" diff --git a/sci-ml/ollama/ollama-9999.ebuild b/sci-ml/ollama/ollama-9999.ebuild index 36e1132793..34c4726698 100644 --- a/sci-ml/ollama/ollama-9999.ebuild +++ b/sci-ml/ollama/ollama-9999.ebuild @@ -233,8 +233,13 @@ src_configure() { local mycmakeargs=( -DGGML_CCACHE="no" + # backends end up in /usr/bin otherwise + -DGGML_BACKEND_DL="yes" + -DGGML_BACKEND_DIR="${EPREFIX}/usr/$(get_libdir)/${PN}/backends" + # -DGGML_CPU="yes" -DGGML_BLAS="$(usex blas)" + # -DGGML_CUDA="$(usex cuda)" # -DGGML_HIP="$(usex rocm)"