mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
sci-ml/ollama: 9999 enable LTO for ggml if lto is enabled via FLAGS
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
@@ -279,6 +279,12 @@ src_configure() {
|
||||
"$(cmake_use_find_package vulkan Vulkan)"
|
||||
)
|
||||
|
||||
if tc-is-lto ; then
|
||||
mycmakeargs+=(
|
||||
-DGGML_LTO="yes"
|
||||
)
|
||||
fi
|
||||
|
||||
if use blas; then
|
||||
if use flexiblas ; then
|
||||
mycmakeargs+=(
|
||||
|
||||
Reference in New Issue
Block a user