OpenCV is missing OpenMP support in Gentoo, which cripples the library on multicore and SMP systems for certain use cases (esp. cpu-intensive Haar classifier training) Debian has prerequisite fixes to enable building opencv with openmp support. http://packages.debian.org/search?keywords=libcv1 And probably more, so importing the rest would be also nice. Requires gcc 4.2.1 or newer and minor ebuild and configure.in modification. (adding -fopenmp to CFLAGS and reenabling --with-openmp option) I might provide the relevant patch later.
Created attachment 193336 [details, diff] Reenable configure option
Created attachment 193338 [details, diff] Imported fix from Debian
Wouldn't it make sense to introduce a useflag for that? AFAIK there is quite a number of ebuilds with an openmp useflag.
There's USE openmp for OpenCV 2.0.0 in bug 289258.
Should be fixed with 2.0.0. In portage.