Skip to contentSkip to conversation

opencv3: Enable NEON and VFPV3 optimizations

PATCH New Mathieu Maret 2 participants 2 messages Jun 7, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opencv3: Enable NEON and VFPV3 optimizations

---
 package/opencv3/opencv3.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
package/opencv3/opencv3.mk +3 -1
index 15e4ead..53b771e 100644
@@ -99,7 +99,9 @@ OPENCV3_CONF_OPTS += \
 # * PowerPC support is turned off since its only effect is altering CFLAGS,
 #   adding '-mcpu=G3 -mtune=G5' to them, which is already handled by Buildroot.
 OPENCV3_CONF_OPTS += \
-	-DENABLE_POWERPC=OFF
+	-DENABLE_POWERPC=OFF \
+	-DENABLE_NEON=$(if $(BR2_ARM_CPU_HAS_NEON),ON,OFF) \
+	-DENABLE_VFPV3=$(if $(BR2_ARM_CPU_HAS_VFPV3),ON,OFF)
 
 # Cuda stuff
 OPENCV3_CONF_OPTS += \
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 opencv3: Enable NEON and VFPV3 optimizations

Hello,

Quoted 4 lines · Mathieu Maret
---
 package/opencv3/opencv3.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com