Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
ab0db1e7
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看板
提交
ab0db1e7
编写于
5月 08, 2017
作者:
L
liaogang
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop' of
https://github.com/PaddlePaddle/Paddle
into gpu_conv
上级
96b33e1e
3ba85b28
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
3 addition
and
4 deletion
+3
-4
Dockerfile
Dockerfile
+1
-1
cmake/util.cmake
cmake/util.cmake
+0
-1
paddle/capi/Main.cpp
paddle/capi/Main.cpp
+0
-1
paddle/scripts/docker/build.sh
paddle/scripts/docker/build.sh
+2
-1
未找到文件。
Dockerfile
浏览文件 @
ab0db1e7
...
@@ -26,7 +26,7 @@ RUN apt-get update && \
...
@@ -26,7 +26,7 @@ RUN apt-get update && \
apt-get
install
-y
git python-pip python-dev openssh-server bison
&&
\
apt-get
install
-y
git python-pip python-dev openssh-server bison
&&
\
apt-get
install
-y
wget unzip
tar
xz-utils bzip2
gzip
coreutils
&&
\
apt-get
install
-y
wget unzip
tar
xz-utils bzip2
gzip
coreutils
&&
\
apt-get
install
-y
curl
sed grep
graphviz libjpeg-dev zlib1g-dev
&&
\
apt-get
install
-y
curl
sed grep
graphviz libjpeg-dev zlib1g-dev
&&
\
apt-get
install
-y
python-numpy python-matplotlib gcc g++
gfortran
&&
\
apt-get
install
-y
python-numpy python-matplotlib gcc g++
liblapack-dev liblapacke-dev
&&
\
apt-get
install
-y
automake locales clang-format-3.8 swig doxygen
&&
\
apt-get
install
-y
automake locales clang-format-3.8 swig doxygen
&&
\
apt-get clean
-y
apt-get clean
-y
...
...
cmake/util.cmake
浏览文件 @
ab0db1e7
...
@@ -149,7 +149,6 @@ endfunction()
...
@@ -149,7 +149,6 @@ endfunction()
# Create a python unittest using run_python_tests.sh,
# Create a python unittest using run_python_tests.sh,
# which takes care of making correct running environment
# which takes care of making correct running environment
function
(
add_python_test TEST_NAME
)
function
(
add_python_test TEST_NAME
)
message
(
"PYTHON:
${
PYTHON_EXECUTABLE
}
"
)
add_test
(
NAME
${
TEST_NAME
}
add_test
(
NAME
${
TEST_NAME
}
COMMAND bash
${
PROJ_ROOT
}
/paddle/scripts/run_python_tests.sh
COMMAND bash
${
PROJ_ROOT
}
/paddle/scripts/run_python_tests.sh
${
USE_VIRTUALENV_FOR_TEST
}
${
PYTHON_EXECUTABLE
}
${
ARGN
}
${
USE_VIRTUALENV_FOR_TEST
}
${
PYTHON_EXECUTABLE
}
${
ARGN
}
...
...
paddle/capi/Main.cpp
浏览文件 @
ab0db1e7
...
@@ -25,7 +25,6 @@ limitations under the License. */
...
@@ -25,7 +25,6 @@ limitations under the License. */
static
void
initPaddle
(
int
argc
,
char
**
argv
)
{
static
void
initPaddle
(
int
argc
,
char
**
argv
)
{
paddle
::
initMain
(
argc
,
argv
);
paddle
::
initMain
(
argc
,
argv
);
paddle
::
initPython
(
argc
,
argv
);
paddle
::
initPython
(
argc
,
argv
);
feenableexcept
(
FE_INVALID
|
FE_DIVBYZERO
|
FE_OVERFLOW
);
}
}
extern
"C"
{
extern
"C"
{
...
...
paddle/scripts/docker/build.sh
浏览文件 @
ab0db1e7
...
@@ -34,7 +34,8 @@ cmake .. \
...
@@ -34,7 +34,8 @@ cmake .. \
-DCMAKE_EXPORT_COMPILE_COMMANDS
=
ON
-DCMAKE_EXPORT_COMPILE_COMMANDS
=
ON
make
-j
`
nproc
`
make
-j
`
nproc
`
if
[
${
WITH_TESTING
:-
OFF
}
==
"ON"
]
&&
[
${
RUN_TEST
:-
OFF
}
==
"ON"
]
;
then
if
[
${
WITH_TESTING
:-
OFF
}
==
"ON"
]
&&
[
${
RUN_TEST
:-
OFF
}
==
"ON"
]
;
then
ctest
-V
-j
`
nproc
`
pip uninstall
-y
py-paddle paddle
||
true
ctest
-V
fi
fi
make
install
make
install
pip
install
/usr/local/opt/paddle/share/wheels/
*
.whl
pip
install
/usr/local/opt/paddle/share/wheels/
*
.whl
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录