mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
Revert "sci-misc/llama-cpp: introduce lto USE flag"
This reverts commit 91f8575242.
We do not want `USE=lto` .
https://wiki.gentoo.org/wiki/LTO#Exceptions_.28USE.3D.22lto.22.29
There is no need to have a `USE=lto` here. All it does is enable
`CMAKE_INTERPROCEDURAL_OPTIMIZATION`, which only passes a potentially
bad version of `-flto`.
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
@@ -40,7 +40,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 openssl vulkan flexiblas wmma webui lto examples"
|
||||
IUSE="curl openblas +openmp blis rocm cuda opencl openssl vulkan flexiblas wmma webui examples"
|
||||
|
||||
REQUIRED_USE="
|
||||
?? (
|
||||
@@ -123,7 +123,6 @@ src_configure() {
|
||||
-DLLAMA_BUILD_SERVER=ON
|
||||
-DCMAKE_SKIP_BUILD_RPATH=ON
|
||||
-DGGML_NATIVE=0 # don't set march
|
||||
-DGGML_LTO=$(usex lto)
|
||||
-DGGML_RPC=ON
|
||||
-DLLAMA_CURL=$(usex curl)
|
||||
-DLLAMA_OPENSSL=$(usex openssl)
|
||||
|
||||
Reference in New Issue
Block a user