summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-15 14:48:38 +0100
committerSam James <sam@gentoo.org>2022-07-15 14:48:42 +0100
commitb8dbd7d00c381205a1d8d16667e66170607aeff4 (patch)
tree760e725cf9a959b5ea0fd49c24c1db9aed555995 /net-wireless
parentdev-python/tempest: enable py3.11 (diff)
downloadgentoo-b8dbd7d00c381205a1d8d16667e66170607aeff4.tar.gz
gentoo-b8dbd7d00c381205a1d8d16667e66170607aeff4.tar.bz2
gentoo-b8dbd7d00c381205a1d8d16667e66170607aeff4.zip
net-wireless/uhd: make SSSE3, NEON optional
hit NEON issue when testing on armv8l (32-bit) Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/uhd/uhd-4.2.0.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-wireless/uhd/uhd-4.2.0.0.ebuild b/net-wireless/uhd/uhd-4.2.0.0.ebuild
index 3af996fef0db..065339744a53 100644
--- a/net-wireless/uhd/uhd-4.2.0.0.ebuild
+++ b/net-wireless/uhd/uhd-4.2.0.0.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/EttusResearch/uhd/archive/v${PV}.tar.gz -> EttusRese
LICENSE="GPL-3"
SLOT="0/$(ver_cut 1-3)"
KEYWORDS="~amd64 ~arm ~riscv ~x86"
-IUSE="+b100 +b200 doc e300 examples +mpmd octoclock test +usb +usrp1 +usrp2 +utils +x300"
+IUSE="+b100 +b200 doc cpu_flags_arm_neon cpu_flags_x86_ssse3 e300 examples +mpmd octoclock test +usb +usrp1 +usrp2 +utils +x300"
RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}
b100? ( usb )
@@ -84,6 +84,8 @@ src_configure() {
-DENABLE_X300="$(usex x300)"
-DENABLE_MPMD="$(usex mpmd)"
-DENABLE_OCTOCLOCK="$(usex octoclock)"
+ -DENABLE_SSSE3="$(usex cpu_flags_x86_ssse3)"
+ -DNEON_SIMD_ENABLE="$(usex cpu_flags_arm_neon)"
-DPYTHON_EXECUTABLE="${PYTHON}"
-DPKG_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
-DUHD_VERSION="${PV}"