Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
Paddle
提交
80c5d23a
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看板
未验证
提交
80c5d23a
编写于
10月 20, 2020
作者:
L
LoveAn
提交者:
GitHub
10月 20, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix the name error and exit caused by judgment failed, test=document_fix (#28118)
上级
a911c19e
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
10 addition
and
8 deletion
+10
-8
tools/windows/build_compile_environment.bat
tools/windows/build_compile_environment.bat
+10
-8
未找到文件。
tools/windows/build_compile_environment.bat
浏览文件 @
80c5d23a
...
...
@@ -30,6 +30,7 @@
:: Echo command is not required.
@echo
off
cd
/d
%~dp0
%
:: ===== start step 0: wget tool =====
:: Download wget for windows when there is not wget tool.
...
...
@@ -145,7 +146,7 @@ echo Install Visual Studio 2015 ...
:: /norestart [no restart]
:: /NoRefresh [no refresh]
:: /InstallSelectableItems NativeLanguageSupport_Group [select Visual C++ for installing]
start
/wait
v
isual
_installer
.exe
/passive /norestart /NoRefresh /InstallSelectableItems
NativeLanguageSupport_Group
start
/wait
v
s
_installer
.exe
/passive /norestart /NoRefresh /InstallSelectableItems
NativeLanguageSupport_Group
if
%errorlevel%
==
0
(
echo
Install
Visual
Studio
2015
success
!
)
else
(
...
...
@@ -158,7 +159,7 @@ goto :eof
:: ===== start step 5: CUDA 10 =====
:cuda
10
echo
">>>>>>>> step [5/7]: CUDA 10.2"
nvcc
--version
|
findstr
/C
:
"10.2"
>
nul
2
>
nul
||
call
:install
_cuda
cmd
/C
nvcc
--version
2
>
nul
|
findstr
/C
:
"10.2"
>
nul
2
>
nul
||
call
:install
_cuda
goto
java
-jre
:install
_cuda
...
...
@@ -178,9 +179,9 @@ del cuda_installer.exe
echo
Download
cudnn
from
"https://paddle-ci.gz.bcebos.com/window_requirement/cudnn-10.2-windows10-x64-v7.6.5.32.zip"
wget
-O
cudnn
-
10
.2
-windows
10
-x
64
-v
7
.6.5.32.zip
"https://paddle-ci.gz.bcebos.com/window_requirement/cudnn-10.2-windows10-x64-v7.6.5.32.zip"
tar
xf
cudnn
-
10
.2
-windows
10
-x
64
-v
7
.6.5.32.zip
xcopy
"cuda\bin\*"
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin"
xcopy
"cuda\include\*"
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include"
xcopy
"cuda\lib\*"
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\lib"
xcopy
/E /Y /R
"cuda\bin\*"
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin"
xcopy
/E /Y /R
"cuda\include\*"
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include"
xcopy
/E /Y /R
"cuda\lib\*"
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\lib"
rd
/s /q
cuda
del
cudnn
-
10
.2
-windows
10
-x
64
-v
7
.6.5.32.zip
goto
:eof
...
...
@@ -189,7 +190,7 @@ goto :eof
:: ===== start step 6: java jre =====
:java
-jre
echo
">>>>>>>> step [6/7]: java jre"
java
>
nul
2
>
nul
||
call
:install
_java
cmd
/C
java
-version
>
nul
2
>
nul
||
call
:install
_java
goto
xly
-agent
:install
_java
...
...
@@ -212,5 +213,6 @@ goto :eof
:xly
-agent
echo
">>>>>>>> step [7/7]: xly agent"
wget
-O
agent
.jar
"https://paddle-ci.gz.bcebos.com/window_requirement/agent.jar"
goto
:eof
:: ===== end step 8: xly agent =====
\ No newline at end of file
:: ===== end step 8: xly agent =====
pause
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录