Paul Zander
8b951481b6
sci-misc/llama-cpp: do not use ROCM_USEDEP
...
ROCM_USEDEP should not be used for flag propagation anymore, since every
other core ROCm package requires AMDGPU_TARGETS to be set globally
(otherwise dependency solver tree explodes in size).
Fixes: 4b0e0ad9e6
See-also: 61d7e4718f
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com >
2026-09-15 16:41:36 +02:00
Gilles Dartiguelongue
ae36817fe3
sci-misc/llama-cpp: drop unnecessary CMake variable
...
Was used with the blas patch in commit d233181e96 .
Closes: https://bugs.gentoo.org/975598
Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org >
2026-09-13 23:10:53 +02:00
Gilles Dartiguelongue
b6b98fbc81
sci-misc/llama-cpp: add myself to maintainer
...
Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org >
2026-09-13 23:10:53 +02:00
Gilles Dartiguelongue
caecaaa985
sci-misc/llama-cpp: add 0.4.0_p10927
...
Fixes build with clang-23.
Closes: https://bugs.gentoo.org/982158
Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org >
2026-09-13 23:10:53 +02:00
Stefan Sydow
c429ceb424
sci-misc/llama-cpp: version bump v0.4.0_p10905
...
Signed-off-by: Stefan Sydow <stefan@sydow.email >
Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org >
2026-09-11 14:28:32 +02:00
Stefan Sydow
4aa3b6982c
sci-misc/llama-cpp: version bump
...
Signed-off-by: Stefan Sydow <stefan@sydow.email >
Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org >
2026-09-11 14:28:32 +02:00
Gilles Dartiguelongue
c9f900361a
sci-misc/llama-cpp: download and install web UI assets
...
Restore web UI feature until upstream completes rework on its
build artifacts so they embed the assets.
For release ebuilds, read the nightly-tag.txt attached to the tag on
GitHub in order to set the relevant LLAMA_UI_VERSION. For live ebuilds,
pick the latest "nightly" tag when updating. This is not optimal but
spares nodejs[npm] dependency and build time as the UI itself does not
change much between releases.
Bug: https://github.com/ggml-org/llama.cpp/issues/27316
Closes: https://bugs.gentoo.org/979245
Refs: https://github.com/ggml-org/llama.cpp/blob/master/tools/ui/README.md
Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org >
2026-09-10 17:42:38 +02:00
Gilles Dartiguelongue
cbf3610dec
sci-misc/llama-cpp: fix insecure runpath QA error
...
* QA Notice: The following files contain insecure RUNPATHs
* Please file a bug about this at https://bugs.gentoo.org/
* with the maintainer of the package.
* /var/tmp/portage/sci-misc/llama-cpp-0.3.0/image/usr/bin/ggml-rpc-servern RPATH: ::::::::::::::::::::
*
Closes: https://bugs.gentoo.org/975597
Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org >
2026-09-10 17:42:38 +02:00
Gilles Dartiguelongue
a8665f553d
sci-misc/llama-cpp: add 0.3.0_p10780
...
Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org >
2026-09-10 17:42:38 +02:00
Gilles Dartiguelongue
e8be7b944e
sci-misc/llama-cpp: import ggml management from ::gentoo
...
Import CPU flag management from ggml ebuild in ::gentoo.
Main difference is avx516bw is not added as it is an optional block of
avx512l and only avx512l appears to be used by GGML.
It avoids automagically enabling when only of the option is enabled.
Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org >
2026-09-10 17:42:37 +02:00
Gilles Dartiguelongue
7d7f03f375
sci-misc/llama-cpp: sync live ebuild
...
Various QA improvements: Use || die in remove instruction. Switch GGML_NATIVE to OFF to better match cmake documentation. Drop obsolete LLAMA_BUILD_WEBUI option. Add missing ROCM_USEDEP.
Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org >
2026-09-10 17:42:37 +02:00
Gilles Dartiguelongue
01ba8f9f2f
sci-misc/llama-cpp: better manage dev/release build
...
Allow managing both releases and pre-releases.
- Follow upstream instructions on setting LLAMA_BUILD_IS_DEV.
- LLAMA_BUILD_COMMIT is only set in live ebuild to avoid maintenance
headaches with releases.
- LLAMA_BUILD_NUMBER is set to tag value or 9999 for live ebuild.
Refs: https://github.com/ggml-org/llama.cpp/blob/master/docs/release.md#building-a-release
Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org >
2026-09-10 17:42:37 +02:00
Gilles Dartiguelongue
76647e2adb
sci-misc/llama-cpp: drop overshadowed releases
...
Signed-off-by: Gilles Dartiguelongue <gilles.dartiguelongue@esiee.org >
2026-09-10 17:42:35 +02:00
Adam Pimentel
d86e295860
sci-misc/llama-cpp: version bump
...
Signed-off-by: Adam Pimentel <adam.pimentel@protonmail.com >
2026-08-30 10:15:36 -04:00
Adam Pimentel
4b0e0ad9e6
sci-misc/llama-cpp: version bump (whoops, wrong ebuild version)
...
Signed-off-by: Adam Pimentel <adam.pimentel@protonmail.com >
2026-07-06 13:59:47 -04:00
Adam Pimentel
f450104052
sci-misc/llama-cpp: version bump
...
Signed-off-by: Adam Pimentel <adam.pimentel@protonmail.com >
2026-07-06 13:53:20 -04:00
Craig Andrews
ad27c53326
sci-misc/llama-cpp: rcp-server was renamed to ggml-rpc-server
...
See:
https://github.com/ggml-org/llama.cpp/commit/c299a92c38b6de6a1139617652b66081828648db
Signed-off-by: Craig Andrews <candrews@gentoo.org >
2026-06-29 13:10:12 -04:00
Paul Zander
86beae7b8b
sci-misc/llama-cpp: add myself as a maintainer
...
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com >
2026-05-25 22:26:01 +02:00
Sergey Alirzaev
fb5648323f
*/*: drop my maintainership from metadata.xml
...
due to political disagreements with GURU leader, i'll be maintaining
ebuilds elsewhere
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2026-05-25 22:15:00 +02:00
Paul Zander
46865dde7c
Revert "sci-misc/llama-cpp: introduce webui USE flag"
...
This reverts commit 27205a89af .
The checksums are unstable. This simply doesn't work in this manner.
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com >
2026-05-22 21:01:26 +02:00
Paul Zander
4b4650d059
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 >
2026-05-22 20:48:14 +02:00
Michael Egger
91f8575242
sci-misc/llama-cpp: introduce lto USE flag
...
Signed-off-by: Michael Egger <egger.m@protonmail.com >
2026-05-22 20:29:20 +02:00
Michael Egger
27205a89af
sci-misc/llama-cpp: introduce webui USE flag
...
Signed-off-by: Michael Egger <egger.m@protonmail.com >
2026-05-22 20:29:20 +02:00
Craig Andrews
427e19afde
sci-misc/llama-cpp: disable building the webui
...
Signed-off-by: Craig Andrews <candrews@gentoo.org >
2026-05-14 14:08:34 -04:00
Sergey Alirzaev
96ace55cf7
sci-misc/llama-cpp: add 0_pre8838, drop 0_pre8100
...
improved gemma4 support, bugfixes
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2026-04-18 21:55:13 +02:00
Craig Andrews
6a097c56d1
sci-misc/llama-cpp: depend on dev-util/spirv-headers
...
See: https://github.com/ggml-org/llama.cpp/pull/21572
Signed-off-by: Craig Andrews <candrews@gentoo.org >
2026-04-14 10:54:38 -04:00
Sergey Alirzaev
0ffa495aad
sci-misc/llama-cpp: add 0_pre8628, drop 0_pre8149
...
added kv cache rotation for better quantized kv cache precision
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2026-04-02 12:07:00 +02:00
Craig Andrews
98a0200bd2
sci-misc/llama-cpp: add openssl use flag
...
Addresses automagic dependency on dev-libs/openssl
Signed-off-by: Craig Andrews <candrews@gentoo.org >
2026-03-30 15:18:10 -04:00
Sergey Alirzaev
98971100e5
sci-misc/llama-cpp: add 0_pre8198, drop 0_pre7836
...
major performance fix
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2026-03-04 23:03:47 +01:00
Sergey Alirzaev
2b0742f921
sci-misc/llama-cpp: add 0_pre8149, drop 0_pre6710
...
for Qwen3.5 support
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2026-02-25 16:32:37 +01:00
Sergey Alirzaev
7dc4031f69
sci-misc/llama-cpp: drop 0_pre7770
...
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2026-02-19 16:23:57 +01:00
Sergey Alirzaev
6df328dd91
sci-misc/llama-cpp: add 0_pre8100
...
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2026-02-19 16:23:24 +01:00
Sergey Alirzaev
d8c3848306
sci-misc/llama-cpp: add 0_pre7924, drop 0_pre6318
...
bump for ngram hasher support
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2026-02-04 00:02:28 +01:00
Paul Zander
de06d3d01b
sci-misc/llama-cpp: drop unused patch
...
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com >
2026-01-26 15:14:17 +01:00
Paul Zander
fe3e646a7e
sci-misc/llama-cpp: add 0_pre7836
...
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com >
2026-01-26 15:13:23 +01:00
Rok Faith
71642b949e
sci-misc/llama-cpp: update 9999: add USE="examples wmma"
...
Signed-off-by: Rok Faith <rok@faith.si >
Part-of: https://github.com/gentoo/guru/pull/420
Closes: https://github.com/gentoo/guru/pull/420
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com >
2026-01-26 15:10:11 +01:00
Rok Faith
04ca4460ca
sci-misc/llama-cpp: update 9999: change USE hip -> rocm
...
Signed-off-by: Rok Faith <rok@faith.si >
Part-of: https://github.com/gentoo/guru/pull/420
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com >
2026-01-26 15:10:11 +01:00
Sergey Alirzaev
dae4ff4338
sci-misc/llama-cpp: add 0_pre7770, drop 0_pre6140
...
Closes: https://bugs.gentoo.org/968587
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2026-01-18 16:08:28 +01:00
Sergey Alirzaev
468f1780ee
sci-misc/llama-cpp: add 0_pre7611, drop 0_pre5633-r1
...
now prompt processing is very fast, at least with Vulkan on GLM 4.5 Air
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2026-01-02 20:06:31 +01:00
Sergey Alirzaev
97cd3affb0
sci-misc/llama-cpp: bump for qwen3-next support, rm old
...
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2025-12-05 15:52:52 +01:00
Sergey Alirzaev
b2cf10b408
sci-misc/llama-cpp: + flexiblas backend
...
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2025-11-10 03:24:29 +01:00
Sergey Alirzaev
8e54fa1530
sci-misc/llama-cpp: drop 0_pre4576
...
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2025-11-08 04:10:41 +01:00
Sergey Alirzaev
4eab3d6799
sci-misc/llama-cpp: add 0_pre6980
...
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2025-11-08 04:10:20 +01:00
Sergey Alirzaev
0d5b89bb35
sci-misc/llama-cpp: fixup bdep
...
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2025-11-08 03:40:54 +01:00
Sergey Alirzaev
acfe4100ae
sci-misc/llama-cpp: bump up to 6710, rm old
...
LFM2-MoE support and fixes
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2025-10-08 04:10:18 +02:00
Sergey Alirzaev
8e62615b17
sci-misc/llama-cpp: depend on shaderc for glslc
...
Closes: https://bugs.gentoo.org/962755
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2025-09-12 02:40:18 +02:00
Sergey Alirzaev
894d171ba3
sci-misc/llama-cpp: add 0_pre6318, drop 0_pre6092
...
lots of bugfixes and new model architectures
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2025-08-29 18:25:30 +02:00
Sergey Alirzaev
a16045671d
sci-misc/llama-cpp: add 0_pre6140, drop 0_pre6002
...
for gpt-oss support
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2025-08-12 23:38:33 +02:00
Sergey Alirzaev
3733474f9c
sci-misc/llama-cpp: handle automagic openmp dep
...
enabled by default as otherwise results in severe performance hit
see https://github.com/ggml-org/llama.cpp/issues/12171
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2025-08-10 02:35:22 +02:00
Sergey Alirzaev
d34ca91c8f
sci-misc/llama-cpp: add 0_pre6092, drop 0_pre5857
...
for glm4moe support
Signed-off-by: Sergey Alirzaev <l29ah@riseup.net >
2025-08-05 22:25:44 +02:00