From e50650a09b332e46b8a2c7b1e1c62421554812c8 Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Wed, 23 Sep 2026 14:33:47 +0200 Subject: [PATCH] sci-ml/ggml: filter lto for cuda Closes: https://bugs.gentoo.org/983121 Signed-off-by: Alfredo Tupone --- sci-ml/ggml/ggml-0.24.0.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sci-ml/ggml/ggml-0.24.0.ebuild b/sci-ml/ggml/ggml-0.24.0.ebuild index 6ca110bcc73b7..3a376896203bc 100644 --- a/sci-ml/ggml/ggml-0.24.0.ebuild +++ b/sci-ml/ggml/ggml-0.24.0.ebuild @@ -4,7 +4,7 @@ EAPI=8 ROCM_VERSION=7.2 -inherit cuda cmake rocm toolchain-funcs +inherit cuda cmake rocm toolchain-funcs flag-o-matic DESCRIPTION="Tensor library for machine learning" HOMEPAGE="https://ggml.ai/" @@ -69,6 +69,7 @@ src_prepare() { if use cuda; then cuda_src_prepare + filter-lto #bug 983121 fi }