Install this version:
emerge -a =sci-libs/onnxruntime-bin-1.22.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sci-libs/onnxruntime-bin-1.22.0
Or alternatively:
emerge --autounmask-write -a =sci-libs/onnxruntime-bin-1.22.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.22.0 | 8 | ~amd64 | 0 |
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="cross-platform, high performance ML inferencing and training accelerator"
HOMEPAGE="https://onnxruntime.ai/"
SRC_URI="
https://github.com/microsoft/onnxruntime/releases/download/v${PV}/onnxruntime-linux-x64-${PV}.tgz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DOCS="
README.md
Privacy.md
ThirdPartyNotices.txt
LICENSE
"
QA_PREBUILT="
lib*/lib*.so*
"
src_unpack() {
unpack ${A}
cd "${WORKDIR}" || die
mv onnxruntime-linux-* ${P} || die
}
src_install() {
dodir /usr/include
cp -R include/. "${ED}"/usr/include/. || die
dodir $(get_libdir)
cp -R lib/. "${ED}"/$(get_libdir)/. || die
einstalldocs
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | onnxruntime-linux-x64-1.22.0.tgz | 7798730 bytes | https://github.com/microsoft/onnxruntime/releases/download/v1.22.0/onnxruntime-linux-x64-1.22.0.tgz |