Install this version:
emerge -a =app-eselect/eselect-caffe2-0.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-eselect/eselect-caffe2-0.1
Or alternatively:
emerge --autounmask-write -a =app-eselect/eselect-caffe2-0.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.1 | 8 | ~amd64 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Manage caffe2 backend selection (ROCm/CUDA)"
HOMEPAGE="https://pytorch.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="app-admin/eselect"
S="${FILESDIR}"
src_install() {
insinto /usr/share/eselect/modules
doins "${FILESDIR}"/caffe2.eselect
}