Enable NEON for the arm64 architecture too

and fix the compilation for iOS in the same time
pull/5924/head
Pierre Dulac 9 years ago
parent 92387b1ef8
commit 262a52f306
  1. 2
      platforms/ios/build_framework.py

@ -126,7 +126,7 @@ class Builder:
toolchain = self.getToolchain(arch, target)
cmakecmd = self.getCMakeArgs(arch, target) + \
(["-DCMAKE_TOOLCHAIN_FILE=%s" % toolchain] if toolchain is not None else [])
if arch.startswith("armv"):
if arch.startswith("armv") or arch.startswith("arm64"):
cmakecmd.append("-DENABLE_NEON=ON")
cmakecmd.append(self.opencv)
cmakecmd.extend(cmakeargs)

Loading…
Cancel
Save