Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
fcdbc8de
P
Paddle
项目概览
PaddlePaddle
/
Paddle
1 年多 前同步成功
通知
2302
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
fcdbc8de
编写于
7月 02, 2021
作者:
zhouweiwei2014
提交者:
GitHub
7月 02, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Polish Windows CI, fix CI random fail (#33863)
上级
4032c2e4
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
51 addition
and
51 deletion
+51
-51
paddle/fluid/framework/CMakeLists.txt
paddle/fluid/framework/CMakeLists.txt
+1
-1
paddle/scripts/paddle_build.bat
paddle/scripts/paddle_build.bat
+50
-50
未找到文件。
paddle/fluid/framework/CMakeLists.txt
浏览文件 @
fcdbc8de
...
@@ -29,7 +29,7 @@ add_subdirectory(io)
...
@@ -29,7 +29,7 @@ add_subdirectory(io)
proto_library
(
framework_proto SRCS framework.proto
)
proto_library
(
framework_proto SRCS framework.proto
)
proto_library
(
op_def_proto SRCS op_def.proto
)
proto_library
(
op_def_proto SRCS op_def.proto
)
cc_library
(
op_def_api SRCS op_def_api.cc DEPS op_def_proto
)
cc_library
(
op_def_api SRCS op_def_api.cc DEPS op_def_proto
boost
)
FILE
(
GLOB OP_DEF_FILES
${
PADDLE_SOURCE_DIR
}
/paddle/fluid/operators/compat/*.pbtxt
)
FILE
(
GLOB OP_DEF_FILES
${
PADDLE_SOURCE_DIR
}
/paddle/fluid/operators/compat/*.pbtxt
)
FILE
(
WRITE
${
CMAKE_CURRENT_BINARY_DIR
}
/op_def.pbtxt
FILE
(
WRITE
${
CMAKE_CURRENT_BINARY_DIR
}
/op_def.pbtxt
...
...
paddle/scripts/paddle_build.bat
浏览文件 @
fcdbc8de
...
@@ -26,22 +26,22 @@ if not defined cache_dir set cache_dir=%work_dir:Paddle=cache%
...
@@ -26,22 +26,22 @@ if not defined cache_dir set cache_dir=%work_dir:Paddle=cache%
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
)
)
taskkill
/f /im
cmake
.exe
2
>
NUL
taskkill
/f /im
cmake
.exe
/t
2
>
NUL
taskkill
/f /im
ninja
.exe
2
>
NUL
taskkill
/f /im
ninja
.exe
/t
2
>
NUL
taskkill
/f /im
MSBuild
.exe
2
>
NUL
taskkill
/f /im
MSBuild
.exe
/t
2
>
NUL
taskkill
/f /im
cl
.exe
2
>
NUL
taskkill
/f /im
cl
.exe
/t
2
>
NUL
taskkill
/f /im
lib
.exe
2
>
NUL
taskkill
/f /im
lib
.exe
/t
2
>
NUL
taskkill
/f /im
link
.exe
2
>
NUL
taskkill
/f /im
link
.exe
/t
2
>
NUL
taskkill
/f /im
vctip
.exe
2
>
NUL
taskkill
/f /im
vctip
.exe
/t
2
>
NUL
taskkill
/f /im
cvtres
.exe
2
>
NUL
taskkill
/f /im
cvtres
.exe
/t
2
>
NUL
taskkill
/f /im
rc
.exe
2
>
NUL
taskkill
/f /im
rc
.exe
/t
2
>
NUL
taskkill
/f /im
mspdbsrv
.exe
2
>
NUL
taskkill
/f /im
mspdbsrv
.exe
/t
2
>
NUL
taskkill
/f /im
csc
.exe
2
>
NUL
taskkill
/f /im
csc
.exe
/t
2
>
NUL
taskkill
/f /im
python
.exe
2
>
NUL
taskkill
/f /im
python
.exe
/t
2
>
NUL
taskkill
/f /im
nvcc
.exe
2
>
NUL
taskkill
/f /im
nvcc
.exe
/t
2
>
NUL
taskkill
/f /im
cicc
.exe
2
>
NUL
taskkill
/f /im
cicc
.exe
/t
2
>
NUL
taskkill
/f /im
ptxas
.exe
2
>
NUL
taskkill
/f /im
ptxas
.exe
/t
2
>
NUL
taskkill
/f /im
op_function_generator
.exe
2
>
NUL
taskkill
/f /im
op_function_generator
.exe
/t
2
>
NUL
wmic
process
where
name
=
"op_function_generator.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"op_function_generator.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"cvtres.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"cvtres.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"rc.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"rc.exe"
call
terminate
2
>
NUL
...
@@ -400,20 +400,20 @@ set build_times=1
...
@@ -400,20 +400,20 @@ set build_times=1
rem clcache.exe -z
rem clcache.exe -z
rem -------clean up environment again-----------
rem -------clean up environment again-----------
taskkill
/f /im
cmake
.exe
2
>
NUL
taskkill
/f /im
cmake
.exe
/t
2
>
NUL
taskkill
/f /im
MSBuild
.exe
2
>
NUL
taskkill
/f /im
MSBuild
.exe
/t
2
>
NUL
taskkill
/f /im
cl
.exe
2
>
NUL
taskkill
/f /im
cl
.exe
/t
2
>
NUL
taskkill
/f /im
lib
.exe
2
>
NUL
taskkill
/f /im
lib
.exe
/t
2
>
NUL
taskkill
/f /im
link
.exe
2
>
NUL
taskkill
/f /im
link
.exe
/t
2
>
NUL
taskkill
/f /im
vctip
.exe
2
>
NUL
taskkill
/f /im
vctip
.exe
/t
2
>
NUL
taskkill
/f /im
cvtres
.exe
2
>
NUL
taskkill
/f /im
cvtres
.exe
/t
2
>
NUL
taskkill
/f /im
rc
.exe
2
>
NUL
taskkill
/f /im
rc
.exe
/t
2
>
NUL
taskkill
/f /im
mspdbsrv
.exe
2
>
NUL
taskkill
/f /im
mspdbsrv
.exe
/t
2
>
NUL
taskkill
/f /im
csc
.exe
2
>
NUL
taskkill
/f /im
csc
.exe
/t
2
>
NUL
taskkill
/f /im
nvcc
.exe
2
>
NUL
taskkill
/f /im
nvcc
.exe
/t
2
>
NUL
taskkill
/f /im
cicc
.exe
2
>
NUL
taskkill
/f /im
cicc
.exe
/t
2
>
NUL
taskkill
/f /im
ptxas
.exe
2
>
NUL
taskkill
/f /im
ptxas
.exe
/t
2
>
NUL
taskkill
/f /im
op_function_generator
.exe
2
>
NUL
taskkill
/f /im
op_function_generator
.exe
/t
2
>
NUL
wmic
process
where
name
=
"cmake.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"cmake.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"op_function_generator.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"op_function_generator.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"cvtres.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"cvtres.exe"
call
terminate
2
>
NUL
...
@@ -422,7 +422,7 @@ wmic process where name="cl.exe" call terminate 2>NUL
...
@@ -422,7 +422,7 @@ wmic process where name="cl.exe" call terminate 2>NUL
wmic
process
where
name
=
"lib.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"lib.exe"
call
terminate
2
>
NUL
if
"
%WITH_TESTING%
"
==
"ON"
(
if
"
%WITH_TESTING%
"
==
"ON"
(
for
/F
"tokens=1 delims= "
%%
#
in
(
'tasklist
^|
findstr /i test'
)
do
taskkill
/f /im
%%
#
for
/F
"tokens=1 delims= "
%%
#
in
(
'tasklist
^|
findstr /i test'
)
do
taskkill
/f /im
%%
#
/t
)
)
echo
Build
Paddle
the
%build_times%
time
:
echo
Build
Paddle
the
%build_times%
time
:
...
@@ -791,24 +791,24 @@ rem ----------------------------------------------------------------------------
...
@@ -791,24 +791,24 @@ rem ----------------------------------------------------------------------------
echo
========================================
echo
========================================
echo
Clean
up
environment
at
the
end
...
echo
Clean
up
environment
at
the
end
...
echo
========================================
echo
========================================
taskkill
/f /im
cmake
.exe
2
>
NUL
taskkill
/f /im
cmake
.exe
/t
2
>
NUL
taskkill
/f /im
ninja
.exe
2
>
NUL
taskkill
/f /im
ninja
.exe
/t
2
>
NUL
taskkill
/f /im
MSBuild
.exe
2
>
NUL
taskkill
/f /im
MSBuild
.exe
/t
2
>
NUL
taskkill
/f /im
git
.exe
2
>
NUL
taskkill
/f /im
git
.exe
/t
2
>
NUL
taskkill
/f /im
cl
.exe
2
>
NUL
taskkill
/f /im
cl
.exe
/t
2
>
NUL
taskkill
/f /im
lib
.exe
2
>
NUL
taskkill
/f /im
lib
.exe
/t
2
>
NUL
taskkill
/f /im
link
.exe
2
>
NUL
taskkill
/f /im
link
.exe
/t
2
>
NUL
taskkill
/f /im
git
-remote-https
.exe
2
>
NUL
taskkill
/f /im
git
-remote-https
.exe
/t
2
>
NUL
taskkill
/f /im
vctip
.exe
2
>
NUL
taskkill
/f /im
vctip
.exe
/t
2
>
NUL
taskkill
/f /im
cvtres
.exe
2
>
NUL
taskkill
/f /im
cvtres
.exe
/t
2
>
NUL
taskkill
/f /im
rc
.exe
2
>
NUL
taskkill
/f /im
rc
.exe
/t
2
>
NUL
taskkill
/f /im
mspdbsrv
.exe
2
>
NUL
taskkill
/f /im
mspdbsrv
.exe
/t
2
>
NUL
taskkill
/f /im
csc
.exe
2
>
NUL
taskkill
/f /im
csc
.exe
/t
2
>
NUL
taskkill
/f /im
python
.exe
2
>
NUL
taskkill
/f /im
python
.exe
/t
2
>
NUL
taskkill
/f /im
nvcc
.exe
2
>
NUL
taskkill
/f /im
nvcc
.exe
/t
2
>
NUL
taskkill
/f /im
cicc
.exe
2
>
NUL
taskkill
/f /im
cicc
.exe
/t
2
>
NUL
taskkill
/f /im
ptxas
.exe
2
>
NUL
taskkill
/f /im
ptxas
.exe
/t
2
>
NUL
taskkill
/f /im
op_function_generator
.exe
2
>
NUL
taskkill
/f /im
op_function_generator
.exe
/t
2
>
NUL
wmic
process
where
name
=
"op_function_generator.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"op_function_generator.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"cvtres.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"cvtres.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"rc.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"rc.exe"
call
terminate
2
>
NUL
...
@@ -816,7 +816,7 @@ wmic process where name="cl.exe" call terminate 2>NUL
...
@@ -816,7 +816,7 @@ wmic process where name="cl.exe" call terminate 2>NUL
wmic
process
where
name
=
"lib.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"lib.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"python.exe"
call
terminate
2
>
NUL
wmic
process
where
name
=
"python.exe"
call
terminate
2
>
NUL
if
"
%WITH_TESTING%
"
==
"ON"
(
if
"
%WITH_TESTING%
"
==
"ON"
(
for
/F
"tokens=1 delims= "
%%
#
in
(
'tasklist
^|
findstr /i test'
)
do
taskkill
/f /im
%%
#
for
/F
"tokens=1 delims= "
%%
#
in
(
'tasklist
^|
findstr /i test'
)
do
taskkill
/f /im
%%
#
/t
)
)
echo
Windows
CI
run
successfully
!
echo
Windows
CI
run
successfully
!
exit
/b
0
exit
/b
0
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录