سؤال

I'm using boost.build on a 24-CPUS machine, I want it build something fast, like make -j, how could I do this?

هل كانت مفيدة؟

المحلول

The -j option of the bjam executable file defines how many CPUs will be used for boost compilation. An example

bjam.exe -j4 toolset=msvc-10.0 stage
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top