Work around qmake race condition

This commit is contained in:
Ilya Fedin
2026-06-24 23:37:32 +04:00
committed by John Preston
parent e4cde250df
commit 228934b6c3
+4 -1
View File
@@ -1579,7 +1579,10 @@ win:
-nomake tests ^
-platform win32-msvc
jom -j%NUMBER_OF_PROCESSORS%
rem jom -jN occasionally fails to create the shared mkspecs\modules-inst
rem directory due to a race in qmake's mkpath under parallel builds; the
rem build is incremental, so simply retrying picks up where it stopped.
jom -j%NUMBER_OF_PROCESSORS% || jom -j%NUMBER_OF_PROCESSORS%
jom -j%NUMBER_OF_PROCESSORS% install
""")
else: # qt > '6'