mirror of https://github.com/qt/qtbase.git
Use ninja as default builder
That allows us to skip all the madness of choosing between make/nmake/jom. In addition it is actually faster to build with ninja, then other tools. Change-Id: I31049a292495800606cede6f15011d97af7c3e41 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Qt CMake Build Bot
This commit is contained in:
parent
b4e5b64936
commit
ce11410caa
|
|
@ -11,31 +11,20 @@ build_instructions:
|
||||||
- type: ChangeDirectory
|
- type: ChangeDirectory
|
||||||
directory: "{{.BuildDir}}"
|
directory: "{{.BuildDir}}"
|
||||||
- type: ExecuteCommand
|
- type: ExecuteCommand
|
||||||
command: cmake {{.Env.CONFIGURE_ARGS}} -DCMAKE_INSTALL_PREFIX:PATH={{.InstallDir}} {{.SourceDir}}
|
command: cmake {{.Env.CONFIGURE_ARGS}} -DCMAKE_INSTALL_PREFIX:PATH={{.InstallDir}} -GNinja {{.SourceDir}}
|
||||||
maxTimeInSeconds: 6000
|
maxTimeInSeconds: 6000
|
||||||
maxTimeBetweenOutput: 120
|
maxTimeBetweenOutput: 120
|
||||||
userMessageOnFailure: >
|
userMessageOnFailure: >
|
||||||
Failed to call cmake. Contact Liang then.
|
Failed to call cmake. Contact Liang then.
|
||||||
|
- type: EnvironmentVariable
|
||||||
|
variableName: DESTDIR
|
||||||
|
variableValue: "{{.InstallRoot}}"
|
||||||
- type: ExecuteCommand
|
- type: ExecuteCommand
|
||||||
command: make DESTDIR={{.InstallRoot}} install
|
command: ninja install
|
||||||
maxTimeInSeconds: 6000
|
maxTimeInSeconds: 6000
|
||||||
maxTimeBetweenOutput: 120
|
maxTimeBetweenOutput: 120
|
||||||
userMessageOnFailure: >
|
userMessageOnFailure: >
|
||||||
Failed to call make install. Contact Liang then.
|
Failed to build sources. In the current state bug can be everywhere. Contact Liang first.
|
||||||
disable_if:
|
|
||||||
condition: property
|
|
||||||
property: host.os
|
|
||||||
equals_value: Windows
|
|
||||||
- type: ExecuteCommand
|
|
||||||
command: jom DESTDIR={{.InstallRoot}} install
|
|
||||||
maxTimeInSeconds: 6000
|
|
||||||
maxTimeBetweenOutput: 120
|
|
||||||
userMessageOnFailure: >
|
|
||||||
Failed to call jom install. Contact Liang then.
|
|
||||||
disable_if:
|
|
||||||
condition: property
|
|
||||||
property: host.os
|
|
||||||
not_equals_value: Windows
|
|
||||||
- type: SignPackage
|
- type: SignPackage
|
||||||
disable_if:
|
disable_if:
|
||||||
condition: property
|
condition: property
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue