mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
sci-misc/llama-cpp: add openssl use flag
Addresses automagic dependency on dev-libs/openssl Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
@@ -34,7 +34,7 @@ SLOT="0"
|
||||
CPU_FLAGS_X86=( avx avx2 f16c )
|
||||
|
||||
# wwma USE explained here: https://github.com/ggml-org/llama.cpp/blob/master/docs/build.md#hip
|
||||
IUSE="curl openblas +openmp blis rocm cuda opencl vulkan flexiblas wmma examples"
|
||||
IUSE="curl openblas +openmp blis rocm cuda opencl openssl vulkan flexiblas wmma examples"
|
||||
|
||||
REQUIRED_USE="
|
||||
?? (
|
||||
@@ -63,6 +63,7 @@ CDEPEND="
|
||||
)
|
||||
)
|
||||
cuda? ( dev-util/nvidia-cuda-toolkit:= )
|
||||
openssl? ( dev-libs/openssl:= )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
opencl? ( dev-util/opencl-headers )
|
||||
@@ -105,6 +106,7 @@ src_configure() {
|
||||
-DGGML_NATIVE=0 # don't set march
|
||||
-DGGML_RPC=ON
|
||||
-DLLAMA_CURL=$(usex curl)
|
||||
-DLLAMA_OPENSSL=$(usex openssl)
|
||||
-DBUILD_NUMBER="1"
|
||||
-DGENTOO_REMOVE_CMAKE_BLAS_HACK=ON
|
||||
-DGGML_CUDA=$(usex cuda)
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
<flag name="wmma">Use rocWMMA to enhance flash attention performance</flag>
|
||||
<flag name="openblas">Build an OpenBLAS backend</flag>
|
||||
<flag name="opencl">Build an OpenCL backend, so far only works on Adreno and Intel GPUs</flag>
|
||||
<flag name="openssl">Use openssl to support HTTPS</flag>
|
||||
</use>
|
||||
<maintainer type="person">
|
||||
<email>zl29ah@gmail.com</email>
|
||||
|
||||
Reference in New Issue
Block a user