mirror of https://github.com/qt/qtbase.git
coin: Call make with -j option when building examples
make and mingw32-make are not parallel by default, which can lead to long build times. Make sure to call them with the -j option with the amount of cores the VM has available. Pick-to: 6.8 6.9 6.10 Task-number: QTBUG-139139 Change-Id: I654b91f117745af2db8aa250a08bfc441413b7b2 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
46a939a700
commit
20f441000a
|
@ -26,7 +26,7 @@ instructions:
|
|||
not_contains_value: "Mingw"
|
||||
# Call make when host os is not Windows (Linux, macOS)
|
||||
- type: ExecuteCommand
|
||||
command: "{{.Env.CALL_MAKE_ENV_PREFIX}} make"
|
||||
command: "{{.Env.CALL_MAKE_ENV_PREFIX}} make -j {{.NumCPU}}"
|
||||
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
||||
maxTimeInSeconds: 6000
|
||||
maxTimeBetweenOutput: 1200
|
||||
|
@ -38,7 +38,7 @@ instructions:
|
|||
not_equals_value: Windows
|
||||
# Call mingw32-make when host os is Windows + MinGW (this includes building for Android)
|
||||
- type: ExecuteCommand
|
||||
command: "{{.Env.CALL_MAKE_ENV_PREFIX}} mingw32-make"
|
||||
command: "{{.Env.CALL_MAKE_ENV_PREFIX}} mingw32-make -j {{.NumCPU}}"
|
||||
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
||||
maxTimeInSeconds: 6000
|
||||
maxTimeBetweenOutput: 1200
|
||||
|
|
Loading…
Reference in New Issue