Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle-Lite
提交
e8c284c5
P
Paddle-Lite
项目概览
PaddlePaddle
/
Paddle-Lite
通知
332
Star
4
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
271
列表
看板
标记
里程碑
合并请求
78
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle-Lite
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
271
Issue
271
列表
看板
标记
里程碑
合并请求
78
合并请求
78
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
e8c284c5
编写于
5月 08, 2020
作者:
C
cc
提交者:
GitHub
5月 08, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix make error in mask demo and test libs demo, test=develop, test=document_fix (#3586)
上级
d53d7fdb
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
18 addition
and
18 deletion
+18
-18
lite/demo/cxx/makefiles/mask_detection/Makefile.android.armv7
.../demo/cxx/makefiles/mask_detection/Makefile.android.armv7
+1
-1
lite/demo/cxx/makefiles/mask_detection/Makefile.android.armv8
.../demo/cxx/makefiles/mask_detection/Makefile.android.armv8
+1
-1
lite/demo/cxx/makefiles/test_libs/Makefile.android.armv7
lite/demo/cxx/makefiles/test_libs/Makefile.android.armv7
+7
-7
lite/demo/cxx/makefiles/test_libs/Makefile.android.armv8
lite/demo/cxx/makefiles/test_libs/Makefile.android.armv8
+7
-7
lite/demo/cxx/mask_detection/prepare.sh
lite/demo/cxx/mask_detection/prepare.sh
+1
-1
lite/demo/cxx/test_libs/prepare.sh
lite/demo/cxx/test_libs/prepare.sh
+1
-1
未找到文件。
lite/demo/cxx/makefiles/mask_detection/Makefile.android.armv7
浏览文件 @
e8c284c5
...
...
@@ -43,7 +43,7 @@ CXX_LIBS = ${OPENCV_LIBS} -L$(LITE_ROOT)/cxx/lib/ -lpaddle_light_api_shared $(SY
mask_detection
:
fetch_opencv mask_detection.o
$(CC)
$(SYSROOT_LINK)
$(CXXFLAGS_LINK)
mask_detection.o
-o
mask_detection
$(CXX_LIBS)
$(LDFLAGS)
mask_detection.o
:
mask_detection.cc
mask_detection.o
:
fetch_opencv
mask_detection.cc
$(CC)
$(SYSROOT_COMPLILE)
$(CXX_DEFINES)
$(CXX_INCLUDES)
$(CXX_FLAGS)
-o
mask_detection.o
-c
mask_detection.cc
fetch_opencv
:
...
...
lite/demo/cxx/makefiles/mask_detection/Makefile.android.armv8
浏览文件 @
e8c284c5
...
...
@@ -43,7 +43,7 @@ CXX_LIBS = ${OPENCV_LIBS} -L$(LITE_ROOT)/cxx/lib/ -lpaddle_light_api_shared $(SY
mask_detection
:
fetch_opencv mask_detection.o
$(CC)
$(SYSROOT_LINK)
$(CXXFLAGS_LINK)
mask_detection.o
-o
mask_detection
$(CXX_LIBS)
$(LDFLAGS)
mask_detection.o
:
mask_detection.cc
mask_detection.o
:
fetch_opencv
mask_detection.cc
$(CC)
$(SYSROOT_COMPLILE)
$(CXX_DEFINES)
$(CXX_INCLUDES)
$(CXX_FLAGS)
-o
mask_detection.o
-c
mask_detection.cc
fetch_opencv
:
...
...
lite/demo/cxx/makefiles/test_libs/Makefile.android.armv7
浏览文件 @
e8c284c5
...
...
@@ -42,13 +42,13 @@ fetch_opencv:
@
test
-d
${THIRD_PARTY_DIR}
/
${OPENCV_VERSION}
||
\
tar
-zxvf
${THIRD_PARTY_DIR}
/
${OPENCV_VERSION}
.tar.gz
-C
${THIRD_PARTY_DIR}
test_helper.o
:
test_helper.cc
test_helper.o
:
fetch_opencv
test_helper.cc
$(CC)
$(SYSROOT_COMPLILE)
$(CXX_DEFINES)
$(CXX_INCLUDES)
$(CXX_FLAGS)
-o
test_helper.o
-c
test_helper.cc
classification_full.o
:
classification_full.cc
classification_full.o
:
fetch_opencv
classification_full.cc
$(CC)
$(SYSROOT_COMPLILE)
$(CXX_DEFINES)
$(CXX_INCLUDES)
$(CXX_FLAGS)
-o
classification_full.o
-c
classification_full.cc
classification_light.o
:
classification_light.cc
classification_light.o
:
fetch_opencv
classification_light.cc
$(CC)
$(SYSROOT_COMPLILE)
$(CXX_DEFINES)
$(CXX_INCLUDES)
$(CXX_FLAGS)
-o
classification_light.o
-c
classification_light.cc
classification_full_shared
:
fetch_opencv classification_full.o test_helper.o
...
...
@@ -64,10 +64,10 @@ classification_light_static: fetch_opencv classification_light.o test_helper.o
$(CC)
$(SYSROOT_LINK)
$(CXXFLAGS_LINK)
classification_light.o test_helper.o
-o
classification_light_static
${LITE_LIGHT_STATIC_LIBS}
$(CXX_LIBS)
$(LDFLAGS)
######
yolov3_full.o
:
yolov3_full.cc
yolov3_full.o
:
fetch_opencv
yolov3_full.cc
$(CC)
$(SYSROOT_COMPLILE)
$(CXX_DEFINES)
$(CXX_INCLUDES)
$(CXX_FLAGS)
-o
yolov3_full.o
-c
yolov3_full.cc
yolov3_light.o
:
yolov3_light.cc
yolov3_light.o
:
fetch_opencv
yolov3_light.cc
$(CC)
$(SYSROOT_COMPLILE)
$(CXX_DEFINES)
$(CXX_INCLUDES)
$(CXX_FLAGS)
-o
yolov3_light.o
-c
yolov3_light.cc
yolov3_full_shared
:
fetch_opencv yolov3_full.o test_helper.o
...
...
@@ -88,8 +88,8 @@ all: classification_full_shared classification_full_static classification_light_
clean
:
rm
-f
*
.o
rm
-f
classification_full_shared
rm
-
r
classification_full_static
rm
-
r
classification_light_shared
rm
-
f
classification_full_static
rm
-
f
classification_light_shared
rm
-f
classification_light_static
rm
-f
yolov3_full_shared
rm
-f
yolov3_full_static
...
...
lite/demo/cxx/makefiles/test_libs/Makefile.android.armv8
浏览文件 @
e8c284c5
...
...
@@ -42,13 +42,13 @@ fetch_opencv:
@
test
-d
${THIRD_PARTY_DIR}
/
${OPENCV_VERSION}
||
\
tar
-zxvf
${THIRD_PARTY_DIR}
/
${OPENCV_VERSION}
.tar.gz
-C
${THIRD_PARTY_DIR}
test_helper.o
:
test_helper.cc
test_helper.o
:
fetch_opencv
test_helper.cc
$(CC)
$(SYSROOT_COMPLILE)
$(CXX_DEFINES)
$(CXX_INCLUDES)
$(CXX_FLAGS)
-o
test_helper.o
-c
test_helper.cc
classification_full.o
:
classification_full.cc
classification_full.o
:
fetch_opencv
classification_full.cc
$(CC)
$(SYSROOT_COMPLILE)
$(CXX_DEFINES)
$(CXX_INCLUDES)
$(CXX_FLAGS)
-o
classification_full.o
-c
classification_full.cc
classification_light.o
:
classification_light.cc
classification_light.o
:
fetch_opencv
classification_light.cc
$(CC)
$(SYSROOT_COMPLILE)
$(CXX_DEFINES)
$(CXX_INCLUDES)
$(CXX_FLAGS)
-o
classification_light.o
-c
classification_light.cc
classification_full_shared
:
fetch_opencv classification_full.o test_helper.o
...
...
@@ -64,10 +64,10 @@ classification_light_static: fetch_opencv classification_light.o test_helper.o
$(CC)
$(SYSROOT_LINK)
$(CXXFLAGS_LINK)
classification_light.o test_helper.o
-o
classification_light_static
${LITE_LIGHT_STATIC_LIBS}
$(CXX_LIBS)
$(LDFLAGS)
######
yolov3_full.o
:
yolov3_full.cc
yolov3_full.o
:
fetch_opencv
yolov3_full.cc
$(CC)
$(SYSROOT_COMPLILE)
$(CXX_DEFINES)
$(CXX_INCLUDES)
$(CXX_FLAGS)
-o
yolov3_full.o
-c
yolov3_full.cc
yolov3_light.o
:
yolov3_light.cc
yolov3_light.o
:
fetch_opencv
yolov3_light.cc
$(CC)
$(SYSROOT_COMPLILE)
$(CXX_DEFINES)
$(CXX_INCLUDES)
$(CXX_FLAGS)
-o
yolov3_light.o
-c
yolov3_light.cc
yolov3_full_shared
:
fetch_opencv yolov3_full.o test_helper.o
...
...
@@ -88,8 +88,8 @@ all: classification_full_shared classification_full_static classification_light_
clean
:
rm
-f
*
.o
rm
-f
classification_full_shared
rm
-
r
classification_full_static
rm
-
r
classification_light_shared
rm
-
f
classification_full_static
rm
-
f
classification_light_shared
rm
-f
classification_light_static
rm
-f
yolov3_full_shared
rm
-f
yolov3_full_static
...
...
lite/demo/cxx/mask_detection/prepare.sh
浏览文件 @
e8c284c5
...
...
@@ -17,7 +17,7 @@ if [ ! -f "mask_models_img.tar.gz" ];
then
wget
-c
https://paddle-inference-dist.cdn.bcebos.com/PaddleLiteDemo/mask_models_img.tar.gz
fi
tar
zx
v
f mask_models_img.tar.gz
tar
zxf mask_models_img.tar.gz
mv
mask_models_img
${
gf
}
# clean
...
...
lite/demo/cxx/test_libs/prepare.sh
浏览文件 @
e8c284c5
...
...
@@ -25,6 +25,6 @@ mv ${gf}/cxx ${gf}/lite
if
[
!
-f
"test_libs_models_imgs.tgz"
]
;
then
wget https://paddle-inference-dist.cdn.bcebos.com/PaddleLite/test_libs_models_imgs.tgz
fi
tar
zx
v
f test_libs_models_imgs.tgz
tar
zxf test_libs_models_imgs.tgz
mv
test_libs_models_imgs
${
gf
}
mv
${
gf
}
/test_libs_models_imgs
${
gf
}
/models_imgs
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录