commit:     2873436957fb527e0fd84838c3d8e09f6b1171d8
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Thu Sep 15 06:44:45 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Oct 10 12:20:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28734369

dev-cpp/highway: fix buiding on ARM Neon

Bug: https://bugs.gentoo.org/869077

Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27263
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-cpp/highway/{highway-1.0.1.ebuild => highway-1.0.1-r1.ebuild} | 3 ++-
 dev-cpp/highway/highway-9999.ebuild                               | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/highway/highway-1.0.1.ebuild 
b/dev-cpp/highway/highway-1.0.1-r1.ebuild
similarity index 91%
rename from dev-cpp/highway/highway-1.0.1.ebuild
rename to dev-cpp/highway/highway-1.0.1-r1.ebuild
index b9e18db6095b..2aa240199304 100644
--- a/dev-cpp/highway/highway-1.0.1.ebuild
+++ b/dev-cpp/highway/highway-1.0.1-r1.ebuild
@@ -18,7 +18,7 @@ fi
 
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="test"
+IUSE="cpu_flags_arm_neon test"
 
 DEPEND="test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
 
@@ -26,6 +26,7 @@ RESTRICT="!test? ( test )"
 
 multilib_src_configure() {
        local mycmakeargs=(
+               -DHWY_CMAKE_ARM7=$(usex cpu_flags_arm_neon)
                -DBUILD_TESTING=$(usex test)
                -DHWY_WARNINGS_ARE_ERRORS=OFF
        )

diff --git a/dev-cpp/highway/highway-9999.ebuild 
b/dev-cpp/highway/highway-9999.ebuild
index b9e18db6095b..2aa240199304 100644
--- a/dev-cpp/highway/highway-9999.ebuild
+++ b/dev-cpp/highway/highway-9999.ebuild
@@ -18,7 +18,7 @@ fi
 
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="test"
+IUSE="cpu_flags_arm_neon test"
 
 DEPEND="test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )"
 
@@ -26,6 +26,7 @@ RESTRICT="!test? ( test )"
 
 multilib_src_configure() {
        local mycmakeargs=(
+               -DHWY_CMAKE_ARM7=$(usex cpu_flags_arm_neon)
                -DBUILD_TESTING=$(usex test)
                -DHWY_WARNINGS_ARE_ERRORS=OFF
        )

Reply via email to