Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
Paddle
提交
88256df6
P
Paddle
项目概览
BaiXuePrincess
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
88256df6
编写于
9月 07, 2020
作者:
Z
Zhou Wei
提交者:
GitHub
9月 07, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
cherry-pick2.0, windows count time (#27042)
上级
e92c3b26
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
6 deletion
+8
-6
paddle/scripts/paddle_build.bat
paddle/scripts/paddle_build.bat
+8
-6
未找到文件。
paddle/scripts/paddle_build.bat
浏览文件 @
88256df6
...
@@ -20,13 +20,12 @@ rem Paddle CI Task On Windows Platform
...
@@ -20,13 +20,12 @@ rem Paddle CI Task On Windows Platform
rem =================================================
rem =================================================
rem -------clean up environment-----------
rem -------clean up environment-----------
wmic
process
where
name
=
"op_function_generator.exe"
call
terminate
2
>
NUL
set
work_dir
=
%cd%
set
work_dir
=
%cd%
if
exist
build
rmdir
build
/s/q
mkdir
build
mkdir
build
cd
/d
build
cd
/d
build
tree
.
tree
.
dir
paddle
\fluid\pybind\Release
dir
paddle
\fluid\pybind\Release
taskkill
/f /im
op_function_generator
.exe
2
>
NUL
rem ------initialize the virtual environment------
rem ------initialize the virtual environment------
if
not
defined
PYTHON_ROOT
set
PYTHON_ROOT
=
C
:\Python37
if
not
defined
PYTHON_ROOT
set
PYTHON_ROOT
=
C
:\Python37
...
@@ -216,7 +215,7 @@ pip install -U %PADDLE_WHL_FILE_WIN% --user
...
@@ -216,7 +215,7 @@ pip install -U %PADDLE_WHL_FILE_WIN% --user
if
%ERRORLEVEL%
NEQ
0
(
if
%ERRORLEVEL%
NEQ
0
(
call
paddle_winci
\Scripts\deactivate.bat
2
>
NUL
call
paddle_winci
\Scripts\deactivate.bat
2
>
NUL
echo
pip
install
whl
package
failed
!
echo
pip
install
whl
package
failed
!
exit
/b
3
exit
/b
1
)
)
python
%work_dir%
\paddle\scripts\installation_validate.py
python
%work_dir%
\paddle\scripts\installation_validate.py
...
@@ -225,7 +224,7 @@ goto:eof
...
@@ -225,7 +224,7 @@ goto:eof
:test
_whl_pacakage_error
:test
_whl_pacakage_error
call
paddle_winci
\Scripts\deactivate.bat
2
>
NUL
call
paddle_winci
\Scripts\deactivate.bat
2
>
NUL
echo
Test
import
paddle
failed
,
will
exit
!
echo
Test
import
paddle
failed
,
will
exit
!
exit
/b
3
exit
/b
1
rem ---------------------------------------------------------------------------------------------
rem ---------------------------------------------------------------------------------------------
:unit
_test
:unit
_test
...
@@ -248,6 +247,9 @@ goto:eof
...
@@ -248,6 +247,9 @@ goto:eof
:unit
_test_error
:unit
_test_error
call
paddle_winci
\Scripts\deactivate.bat
2
>
NUL
call
paddle_winci
\Scripts\deactivate.bat
2
>
NUL
for
/F
%%
#
in
(
'wmic os get localdatetime
^|
findstr 20'
)
do
set
end
=
%%
#
set
end
=
%end
:
~
4
,
10
%
call
:timestamp
"
%start%
"
"
%end%
"
"TestCases Total"
echo
Running
unit
tests
failed
,
will
exit
!
echo
Running
unit
tests
failed
,
will
exit
!
exit
/b
8
exit
/b
8
...
@@ -268,7 +270,7 @@ goto:eof
...
@@ -268,7 +270,7 @@ goto:eof
:test
_inference_error
:test
_inference_error
call
paddle_winci
\Scripts\deactivate.bat
2
>
NUL
call
paddle_winci
\Scripts\deactivate.bat
2
>
NUL
echo
Testing
fluid
library
for
inference
failed
!
echo
Testing
fluid
library
for
inference
failed
!
exit
/b
5
exit
/b
1
rem ---------------------------------------------------------------------------------------------
rem ---------------------------------------------------------------------------------------------
:check
_change_of_unittest
:check
_change_of_unittest
...
@@ -399,7 +401,7 @@ taskkill /f /im git-remote-https.exe 2>NUL
...
@@ -399,7 +401,7 @@ taskkill /f /im git-remote-https.exe 2>NUL
taskkill
/f /im
vctip
.exe
2
>
NUL
taskkill
/f /im
vctip
.exe
2
>
NUL
taskkill
/f /im
cvtres
.exe
2
>
NUL
taskkill
/f /im
cvtres
.exe
2
>
NUL
taskkill
/f /im
rc
.exe
2
>
NUL
taskkill
/f /im
rc
.exe
2
>
NUL
taskkill
/f /im
op_function_generator
.exe
2
>
NUL
wmic
process
where
name
=
"op_function_generator.exe"
call
terminate
2
>
NUL
taskkill
/f /im
python
.exe
2
>
NUL
taskkill
/f /im
python
.exe
2
>
NUL
call
paddle_winci
\Scripts\deactivate.bat
2
>
NUL
call
paddle_winci
\Scripts\deactivate.bat
2
>
NUL
taskkill
/f /im
python
.exe
2
>
NUL
taskkill
/f /im
python
.exe
2
>
NUL
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录