Patch is from https://github.com/opencv/opencv/pull/6009. Upstream doesn't
seem particularly enthusiastic about a 3.1.x point release, so who knows
when this fix would otherwise see the light of day.
opencv3: added in optional buildFlag for enabling cuda
opencv3: added CUDA enabling flags to cmakeFlags
opencv3: added CUDA-speicifc FAST_MATH flag for enabling CUDA-accelerated math functions
opencv3: change enableCUDA default to false
opencv:added in cuda-enabling functionality.
The following parameters are now available:
* hardeningDisable
To disable specific hardening flags
* hardeningEnable
To enable specific hardening flags
Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.
cc-wrapper supports the following flags:
* fortify
* stackprotector
* pie (disabled by default)
* pic
* strictoverflow
* format
* relro
* bindnow
Intel Integrated Performance Primitives (IPP) speeds up parts of OpenCV
on Intel processors (and compatible). It increases the store path from
220 MiB to 300 MiB, so it defaults to off.
Original patch from Bas van Dijk <v.dijk.bas@gmail.com>.
I tried applying the same change to opencv(2.x). OpenCV 2.x didn't
automatically detect IPP, so I reverted the change.