未验证 提交 e29ab5ea 编写于 作者: W wanghuancoder 提交者: GitHub

clear clcache cache file and reopen clcache (#28384)

* clear clcache cache file and reopen clcache, test=develop

* reopen clcache, test=develop
上级 72c78e4d
...@@ -133,7 +133,6 @@ set CLCACHE_OBJECT_CACHE_TIMEOUT_MS=1000000 ...@@ -133,7 +133,6 @@ set CLCACHE_OBJECT_CACHE_TIMEOUT_MS=1000000
:: set maximum cache size to 20G :: set maximum cache size to 20G
clcache.exe -M 21474836480 clcache.exe -M 21474836480
rem ------set cache third_party------ rem ------set cache third_party------
if not exist %cache_dir%\tools ( if not exist %cache_dir%\tools (
git clone https://github.com/zhouwei25/tools.git %cache_dir%\tools git clone https://github.com/zhouwei25/tools.git %cache_dir%\tools
...@@ -248,8 +247,7 @@ echo Build third_party successfully! ...@@ -248,8 +247,7 @@ echo Build third_party successfully!
set build_times=1 set build_times=1
:build_paddle :build_paddle
echo Build Paddle the %build_times% time: echo Build Paddle the %build_times% time:
::msbuild /m:%PARALLEL_PROJECT_COUNT% /p:TrackFileAccess=false /p:CLToolExe=clcache.exe /p:CLToolPath=%PYTHON_ROOT%\Scripts /p:Configuration=Release /verbosity:minimal paddle.sln msbuild /m:%PARALLEL_PROJECT_COUNT% /p:TrackFileAccess=false /p:CLToolExe=clcache.exe /p:CLToolPath=%PYTHON_ROOT%\Scripts /p:Configuration=Release /verbosity:minimal paddle.sln
msbuild /m:%PARALLEL_PROJECT_COUNT% /p:Configuration=Release /verbosity:minimal paddle.sln
if %ERRORLEVEL% NEQ 0 ( if %ERRORLEVEL% NEQ 0 (
set /a build_times=%build_times%+1 set /a build_times=%build_times%+1
if %build_times% GTR 1 ( if %build_times% GTR 1 (
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册