Revision | 8f8b6e17223ccf8055754db1931c9f45ce9cc9bc (tree) |
---|---|
Zeit | 2023-05-15 16:11:47 |
Autor | Fs <Fsu0413@vip....> |
Commiter | Fs |
properly set NINJAFLAGS to qmake
Signed-off-by: Fs <Fsu0413@vip.qq.com>
@@ -398,6 +398,10 @@ conf.Qt.generateConfTable = function(self, host, job, buildTime) | ||
398 | 398 | commandLineReplacement.MYSQLPREFIX = ret.WORKSPACE .. configureHost.pathSep .. "buildDir" .. configureHost.pathSep .. replaceVersion(conf.MariaDB.configurations[jobConfigureDetail.mysqlConf].name, nil, targetToolchainVersion) |
399 | 399 | end |
400 | 400 | |
401 | + if jobConfigureDetail.NINJAFLAGS then | |
402 | + ret.envSet.NINJAFLAGS = jobConfigureDetail.NINJAFLAGS | |
403 | + end | |
404 | + | |
401 | 405 | local installFolderName = replaceVersion(jobConfigureDetail.name, hostToolchainVersion, targetToolchainVersion) |
402 | 406 | local installRoot = ret.WORKSPACE .. configureHost.pathSep .. "buildDir" .. configureHost.pathSep .. installFolderName |
403 | 407 | commandLineReplacement.INSTALLROOT = installRoot |
@@ -2085,8 +2085,8 @@ conf.q5_15mal = { | ||
2085 | 2085 | "make -j$PARALLELNUM" |
2086 | 2086 | -webengine-proprietary-codecs |
2087 | 2087 | QMAKE_APPLE_DEVICE_ARCHS="arm64 x86_64" |
2088 | - NINJAFLAGS="-v -j$(expr $PARALLELNUM / 2)" | |
2089 | 2088 | ]], |
2089 | + NINJAFLAGS = "-v -j4" | |
2090 | 2090 | } |
2091 | 2091 | |
2092 | 2092 | conf.q5_15malnf = { |
@@ -2128,8 +2128,8 @@ conf.q5_15malnf = { | ||
2128 | 2128 | -webengine-proprietary-codecs |
2129 | 2129 | -no-framework |
2130 | 2130 | QMAKE_APPLE_DEVICE_ARCHS="arm64 x86_64" |
2131 | - NINJAFLAGS="-v -j$(expr $PARALLELNUM / 2)" | |
2132 | 2131 | ]], |
2132 | + NINJAFLAGS = "-v -j4" | |
2133 | 2133 | } |
2134 | 2134 | |
2135 | 2135 | conf.q5_15malsf = { |