commit: e15f9a275b4ffe5d5d19c0a5075cf54ba19f9852
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 17 09:12:03 2025 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 09:12:33 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e15f9a27
sci-ml/NNPACK: require c++14 on test
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild
b/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild
index 5fdfbe2bc311..cca1ab6a42b5 100644
--- a/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild
+++ b/sci-ml/NNPACK/NNPACK-2020.12.22-r3.ebuild
@@ -43,7 +43,10 @@ BDEPEND="
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
src_prepare() {
- sed -i -e "/-O/d" CMakeLists.txt || die
+ sed -i \
+ -e "/-O/d" \
+ -e "s:CXX_STANDARD 11:CXX_STANDARD 14:" \
+ CMakeLists.txt || die
cmake_src_prepare
}