Multicore compilation with Qt Creator 4.8.1 (Sailfish SDK) Windows - “Use jom instead of nmake” not working

asked 2019-07-18 15:37:21 +0200

zuyev gravatar image

Hello!

I installed Qt Creator 4.8.1 (Sailfish SDK) Windows 10. Option "Use jom instead of nmake" is enabled. When compiling a QML application is activated only one core of the processor. How to use all the cores? What packages need to be installed? How to install the JOM correctly?

Thanks.

edit retag flag offensive close delete

Comments

1

so did you changed buildengine vm options and increased cores count?

coderus ( 2019-07-18 19:07:13 +0200 )edit

Installed 8 cores in VM options buildengine. The compilation time has not changed.

zuyev ( 2019-07-18 23:15:58 +0200 )edit

do you have multiple cpp files in your project to compare compilation speed?

do you have %qtc_make %{?_smp_mflags} as build step in your spec?

coderus ( 2019-07-19 00:12:34 +0200 )edit

Thanks for your help! On Windows, nmake does not support the -j parameter. The modified JOM works. Realized that multicore compilation only works for cpp. If there are only QML files in the project, multicore compilation does not work. Correct me if I'm wrong.

zuyev ( 2019-07-30 19:42:03 +0200 )edit