TBB enables parallel code in OpenCV. Some task like opencv_traincascade
will be slow without TBB enabled.
ClosesHomebrew/homebrew#12407.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Removed extra space at the start of -DOPENCV_EXTRA_C_FLAGS parameter that was
killing the 32bit build on Mac OS X Lion.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
OpenCV relies on the CMake FindPythonLibs module which get pwned pretty hard if
more than one Python installation is available. Copied some code from the VTK
formula that straightens things out manually.
Also added a numpy dependency.
FixesHomebrew/homebrew#7740.
"brew audit" will now warn about commented-out dependencies.
Updated formulae that had these to either take them out or rewrite
the comments around them.
Seems to work good. Memory leak from 2.1.0 is fixed. Some later revisions don't compile on OSX, though
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews