From: Kevin Brothaler Date: Tue, 20 Dec 2022 18:33:33 +0000 (-0500) Subject: Check for both __ARM_NEON and __ARM_FEATURE_FMA so that the project can be compiled... X-Git-Tag: upstream/1.7.4~1688 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=e1432dd91add9ba93fdbb7afedb52f224410f9dd;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp Check for both __ARM_NEON and __ARM_FEATURE_FMA so that the project can be compiled for armv7a. Android armeabi-v7a's NEON support doesn't support FMA unless configured with `-mfpu=neon-fp-armv8`, which would need runtime checks. * Also removed ABI filter from Android project. --- diff --git a/examples/whisper.android/.idea/gradle.xml b/examples/whisper.android/.idea/gradle.xml index a9f4e522..a2d7c213 100644 --- a/examples/whisper.android/.idea/gradle.xml +++ b/examples/whisper.android/.idea/gradle.xml @@ -1,5 +1,6 @@ +