Install this version:
emerge -a =sci-ml/gguf-tools-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sci-ml/gguf-tools-9999
Or alternatively:
emerge --autounmask-write -a =sci-ml/gguf-tools-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | ~amd64 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3 toolchain-funcs
DESCRIPTION="GGUF file manipulation tools and library"
HOMEPAGE="https://github.com/antirez/gguf-tools"
EGIT_REPO_URI="https://github.com/antirez/gguf-tools.git"
EGIT_BRANCH="main"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
emake \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS//\-march=native/}" \
LDFLAGS="${LDFLAGS}" \
gguf-tools
}
src_install() {
dobin gguf-tools
dodoc README.md
}