commit: 216c0edfc356f044ad2a88b64774c962d4b72187 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Sat Jan 18 20:50:18 2025 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sat Jan 18 20:50:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=216c0edf
sci-libs/NNPACK: do not use last FP16 version Closes: https://bugs.gentoo.org/948100 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> ...0.12.22-r2.ebuild => NNPACK-2020.12.22-r3.ebuild} | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/sci-libs/NNPACK/NNPACK-2020.12.22-r2.ebuild b/sci-libs/NNPACK/NNPACK-2020.12.22-r3.ebuild similarity index 83% rename from sci-libs/NNPACK/NNPACK-2020.12.22-r2.ebuild rename to sci-libs/NNPACK/NNPACK-2020.12.22-r3.ebuild index 73905610fde2..413cbf8eac5e 100644 --- a/sci-libs/NNPACK/NNPACK-2020.12.22-r2.ebuild +++ b/sci-libs/NNPACK/NNPACK-2020.12.22-r3.ebuild @@ -1,10 +1,10 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake python-any-r1 +inherit cmake python-single-r1 CommitId=c07e3a0400713d546e0dea2d5466dd22ea389c73 @@ -20,30 +20,28 @@ SLOT="0" KEYWORDS="~amd64" IUSE=test RESTRICT="test" # consuming too much CPU +REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND=" + ${PYTHON_DEPS} dev-libs/pthreadpool dev-libs/cpuinfo + $(python_gen_cond_dep ' + <=dev-libs/FP16-2024.05.27[${PYTHON_USEDEP}] + dev-python/peachpy[${PYTHON_USEDEP}] + ') " DEPEND="${RDEPEND} - dev-libs/FP16 dev-libs/FXdiv dev-libs/psimd " BDEPEND=" - ${PYTHON_DEPS} + ${RDEPEND} test? ( dev-cpp/gtest ) - $(python_gen_any_dep ' - dev-python/peachpy[${PYTHON_USEDEP}] - ') " PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) -python_check_deps() { - python_has_version "dev-python/peachpy[${PYTHON_USEDEP}]" -} - src_prepare() { sed -i -e "/-O/d" CMakeLists.txt || die cmake_src_prepare
