summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Novomesky <dnovomesky@gmail.com>2022-09-15 08:44:45 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-10-10 15:20:07 +0300
commit2873436957fb527e0fd84838c3d8e09f6b1171d8 (patch)
tree04bef7c155130724675e2ad90257e5c6fd6811c4 /dev-cpp
parentdev-db/sqldeveloper: removed old (diff)
downloadgentoo-2873436957fb527e0fd84838c3d8e09f6b1171d8.tar.gz
gentoo-2873436957fb527e0fd84838c3d8e09f6b1171d8.tar.bz2
gentoo-2873436957fb527e0fd84838c3d8e09f6b1171d8.zip
dev-cpp/highway: fix buiding on ARM Neon
Bug: https://bugs.gentoo.org/869077 Signed-off-by: Daniel Novomesky <dnovomesky@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/27263 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/highway/highway-1.0.1-r1.ebuild (renamed from dev-cpp/highway/highway-1.0.1.ebuild)3
-rw-r--r--dev-cpp/highway/highway-9999.ebuild3
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
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
)