diff --git a/CMakeLists.txt b/CMakeLists.txt index 676c94591eeba248da42ee234428328c5e88f680..765d8fc157856583874cba98af4e74483ae632ac 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,7 +61,6 @@ if(WITH_MUSL) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=deprecated-declarations -Wno-deprecated-declarations -Wno-error=pessimizing-move -Wno-error=deprecated-copy") endif() -#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zm1000 /fp:fast") if(WIN32) option(MSVC_STATIC_CRT "use static C Runtime library by default" ON) diff --git a/paddle/scripts/paddle_build.bat b/paddle/scripts/paddle_build.bat index c5bb7ea472bfd8bbb714770ef23c38833777936c..2edb062ac806fd2ac0f4fe8aba869dd91159826f 100644 --- a/paddle/scripts/paddle_build.bat +++ b/paddle/scripts/paddle_build.bat @@ -30,10 +30,6 @@ taskkill /f /im op_function_generator.exe wmic process where name="op_function_generator.exe" call terminate taskkill /f /im python.exe 2>NUL -:: TODO: Temporarily,REMOVE after VS2017 is stable. -set WITH_TPCACHE=OFF -rmdir %cache_dir%\third_party_GPU /s/q -rmdir %cache_dir%\third_party /s/q rem ------initialize common variable------ if not defined GENERATOR set GENERATOR="Visual Studio 15 2017 Win64" @@ -85,7 +81,7 @@ git show-ref --verify --quiet refs/heads/last_pr if %ERRORLEVEL% EQU 0 ( git diff HEAD last_pr --stat --name-only git diff HEAD last_pr --stat --name-only | findstr "setup.py.in" - if %ERRORLEVEL% EQU 0 ( + if !ERRORLEVEL! EQU 0 ( rmdir build /s/q ) git branch -D last_pr