Ask Your Question

Revision history [back]

Automatically, not easy. On Ubuntu I did it by piping out the compiler flags of my CPU and than processing those to see what is supported. An installation, once build will also be dependent on the instruction set of the CPU. Some, like SSE and SSE2 are quite standard nowadays and can be integrated without problem, but quickly setting or unsetting instructions sets is not possible using OpenCV, or at least I haven't find an automatic system for that yet.