Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
8d10846e
P
Paddle
项目概览
机器未来
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
8d10846e
编写于
3月 22, 2017
作者:
Q
qiaolongfei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change ON_COVERALLS to WITH_COVERAGE
上级
e8965288
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
4 addition
and
4 deletion
+4
-4
doc/getstarted/build_and_install/build_from_source_en.md
doc/getstarted/build_and_install/build_from_source_en.md
+1
-1
paddle/api/paddle_api_config.py.in
paddle/api/paddle_api_config.py.in
+1
-1
paddle/scripts/docker/build.sh
paddle/scripts/docker/build.sh
+1
-1
paddle/scripts/travis/build_and_test.sh
paddle/scripts/travis/build_and_test.sh
+1
-1
未找到文件。
doc/getstarted/build_and_install/build_from_source_en.md
浏览文件 @
8d10846e
...
...
@@ -51,7 +51,7 @@ PaddlePaddle supports some build options.
<tr><td
class=
"left"
>
WITH_TIMER
</td><td
class=
"left"
>
Compile PaddlePaddle with stats timer
</td></tr>
<tr><td
class=
"left"
>
WITH_PROFILER
</td><td
class=
"left"
>
Compile PaddlePaddle with GPU profiler
</td></tr>
<tr><td
class=
"left"
>
WITH_DOC
</td><td
class=
"left"
>
Compile PaddlePaddle with documentation
</td></tr>
<tr><td
class=
"left"
>
ON_COVERALLS
</td><td
class=
"left"
>
Compile PaddlePaddle with code coverage
</td></tr>
<tr><td
class=
"left"
>
WITH_COVERAGE
</td><td
class=
"left"
>
Compile PaddlePaddle with code coverage
</td></tr>
<tr><td
class=
"left"
>
COVERALLS_UPLOAD
</td><td
class=
"left"
>
Package code coverage data to coveralls
</td></tr>
<tr><td
class=
"left"
>
ON_TRAVIS
</td><td
class=
"left"
>
Exclude special unit test on Travis CI
</td></tr>
</tbody>
...
...
paddle/api/paddle_api_config.py.in
浏览文件 @
8d10846e
...
...
@@ -14,4 +14,4 @@ GFLAGS_LOCATION="@GFLAGS_LOCATION@"
CBLAS_LIBRARIES="@CBLAS_LIBRARIES@"
CUDA_LIBRARIES="@CUDA_CUDART_LIBRARY@"
WITH_COVERALLS="@
ON_COVERALLS
@"
WITH_COVERALLS="@
WITH_COVERAGE
@"
paddle/scripts/docker/build.sh
浏览文件 @
8d10846e
...
...
@@ -33,7 +33,7 @@ cmake .. \
-DWITH_SWIG_PY
=
ON
\
-DCUDNN_ROOT
=
/usr/
\
-DWITH_STYLE_CHECK
=
${
WITH_STYLE_CHECK
:-
OFF
}
\
-D
ON_COVERALLS
=
${
TEST
:-
OFF
}
\
-D
WITH_COVERAGE
=
${
TEST
:-
OFF
}
\
-DCMAKE_EXPORT_COMPILE_COMMANDS
=
ON
make
-j
`
nproc
`
if
[[
${
TEST
:-
OFF
}
==
"ON"
]]
;
then
...
...
paddle/scripts/travis/build_and_test.sh
浏览文件 @
8d10846e
...
...
@@ -5,7 +5,7 @@ NPROC=1
export
PYTHONPATH
=
/opt/python/2.7.12/lib/python2.7/site-packages
export
PYTHONHOME
=
/opt/python/2.7.12
export
PATH
=
/opt/python/2.7.12/bin:
${
PATH
}
cmake ..
-DCMAKE_Fortran_COMPILER
=
/usr/bin/gfortran-4.8
-DON_TRAVIS
=
ON
-D
ON_COVERALLS
=
ON
-DCOVERALLS_UPLOAD
=
ON
${
EXTRA_CMAKE_OPTS
}
cmake ..
-DCMAKE_Fortran_COMPILER
=
/usr/bin/gfortran-4.8
-DON_TRAVIS
=
ON
-D
WITH_COVERAGE
=
ON
-DCOVERALLS_UPLOAD
=
ON
${
EXTRA_CMAKE_OPTS
}
NRPOC
=
`
nproc
`
make
-j
$NPROC
make coveralls
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录