File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ rem Paddle CI Task On Windows Platform
1818rem =================================================
1919
2020@ ECHO ON
21- setlocal
21+ setlocal enabledelayedexpansion
2222
2323rem -------clean up environment-----------
2424set work_dir = %cd%
@@ -236,6 +236,8 @@ call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary
236236set DISTUTILS_USE_SDK = 1
237237rem Windows 10 Kit bin dir
238238set PATH = C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64;%PATH%
239+ rem Use 64-bit ToolSet to compile
240+ set PreferredToolArchitecture = x64
239241
240242for /F %% # in ('wmic os get localdatetime^ |findstr 20') do set start = %% #
241243set start = %start:~4 ,10 %
@@ -366,7 +368,7 @@ echo Build third_party the %build_times% time:
366368if %GENERATOR% == " Ninja" (
367369 ninja third_party
368370) else (
369- MSBuild /m /p:PreferredToolArchitecture=x64 /p:Configuration=Release /verbosity:quiet third_party.vcxproj
371+ MSBuild /m /p:PreferredToolArchitecture=x64 /p:Configuration=Release /verbosity:%LOG_LEVEL% third_party.vcxproj
370372)
371373if %ERRORLEVEL% NEQ 0 (
372374 set /a build_times = %build_times%+ 1
You can’t perform that action at this time.
0 commit comments