multithreading - How to run make in several threads? -
in opencv docs met following text:
from build directory execute make, recommended in several threads
is easy thing?
gnu make supports -j option use multiple threads:
-j[jobs],--jobs[=jobs]specifies number of jobs (commands) run simultaneously. if there more 1
-joption, last 1 effective. if-joption given without argument, make not limit number of jobs can run simultaneously. when make invokes sub-make, instances of make coordinate run specified number of jobs @ time; see section parallel make , jobserver details.
Comments
Post a Comment