diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2023-01-11 09:21:25 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2023-01-11 09:25:52 +0100 |
commit | b7141ffbc5d0aecdaea3c1d2b95a7b851a28523d (patch) | |
tree | 4be56aedcc750519ef5da48f29b7aaef35cc92f2 /sci-libs | |
parent | media-libs/openexr: Stabilize 3.1.5-r1 arm64, #890445 (diff) | |
download | gentoo-b7141ffbc5d0aecdaea3c1d2b95a7b851a28523d.tar.gz gentoo-b7141ffbc5d0aecdaea3c1d2b95a7b851a28523d.tar.bz2 gentoo-b7141ffbc5d0aecdaea3c1d2b95a7b851a28523d.zip |
sci-libs/NNPACK: drop changes to optimization option
Closes: https://bugs.gentoo.org/886357
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/NNPACK/NNPACK-2020.12.22.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sci-libs/NNPACK/NNPACK-2020.12.22.ebuild b/sci-libs/NNPACK/NNPACK-2020.12.22.ebuild index 986c10b7a447..f8a9435a32cb 100644 --- a/sci-libs/NNPACK/NNPACK-2020.12.22.ebuild +++ b/sci-libs/NNPACK/NNPACK-2020.12.22.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 2022-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -44,6 +44,11 @@ python_check_deps() { python_has_version "dev-python/PeachPy[${PYTHON_USEDEP}]" } +src_prepare() { + sed -i -e "/-O/d" CMakeLists.txt || die + cmake_src_prepare +} + src_configure() { local mycmakeargs=( -DNNPACK_BUILD_TESTS=$(usex test ON OFF) |