BloodAxe/OpenCV-iOS-build-script

Universal binaries for iOS are built with -O0 in release mode

baberuth opened this issue · 2 comments

The script builds the release binaries for iOS without optimization. Adding -O3 and -funroll will give a performance
increase on several openCV functions. Is it possible to add optimization flags into the script?

Build script does explicitly set -O3 optimization flag for release configuration. Can you prove your statement?

Hi BloodAxe,

I will verify tomorrow what I did exactly, I compared the static libraries
with otool and the only difference I saw was the Release versus Debug
pathname in the ELF file... It might be that I used an old script.

kind regards
Bas

On Wed, Aug 1, 2012 at 8:48 AM, BloodAxe <
reply@reply.github.com

wrote:

Build script does explicitly set -O3 optimization flag for release
configuration. Can you prove your statement?


Reply to this email directly or view it on GitHub:

#3 (comment)