use jom to build with multiple threads

This commit is contained in:
tangfangzhi 2022-05-05 15:08:38 +08:00
parent e183db65a3
commit 04908b1ff9
1 changed files with 2 additions and 2 deletions

View File

@ -150,8 +150,8 @@ def pre_test_build_win() {
cd debug cd debug
call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat" x64 call "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat" x64
set CL=/MP8 set CL=/MP8
cmake ../ -G "NMake Makefiles" cmake .. -G "NMake Makefiles JOM"
nmake || exit 8 jom -j || exit 8
time /t time /t
''' '''
return 1 return 1