Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
Paddle
提交
90b458d2
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看板
提交
90b458d2
编写于
6月 30, 2019
作者:
C
Chunwei
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'zhenghuihuang/demo' into 'incubate/lite'
Add build.gradle for QA See merge request inference/paddlelite!92
上级
a5952cff
5e236b56
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
66 addition
and
2 deletion
+66
-2
.gitlab-ci.yml
.gitlab-ci.yml
+4
-0
paddle/fluid/lite/CMakeLists.txt
paddle/fluid/lite/CMakeLists.txt
+2
-0
paddle/fluid/lite/demo/java/README.md
paddle/fluid/lite/demo/java/README.md
+1
-1
paddle/fluid/lite/demo/java/android/.gitignore
paddle/fluid/lite/demo/java/android/.gitignore
+0
-1
paddle/fluid/lite/demo/java/android/PaddlePredictor/app/build.gradle
...d/lite/demo/java/android/PaddlePredictor/app/build.gradle
+30
-0
paddle/fluid/lite/demo/java/android/PaddlePredictor/build.gradle
...fluid/lite/demo/java/android/PaddlePredictor/build.gradle
+29
-0
未找到文件。
.gitlab-ci.yml
浏览文件 @
90b458d2
...
@@ -12,8 +12,12 @@ before_script:
...
@@ -12,8 +12,12 @@ before_script:
# merge the latest code
# merge the latest code
-
git config --global user.email "you@example.com"
-
git config --global user.email "you@example.com"
-
git config --global user.name "Your Name"
-
git config --global user.name "Your Name"
-
git reset --hard HEAD
# ignore any local changes in CI node.
-
git fetch origin incubate/lite
-
git fetch origin incubate/lite
-
git status -s
-
git branch
-
git merge --no-ff origin/incubate/lite
-
git merge --no-ff origin/incubate/lite
#- git checkout origin/incubate/lite && git log -1 &&
image
:
$SERVER_LITE_DOCKER_IMAGE
image
:
$SERVER_LITE_DOCKER_IMAGE
...
...
paddle/fluid/lite/CMakeLists.txt
浏览文件 @
90b458d2
...
@@ -101,6 +101,8 @@ file(WRITE ${offline_lib_registry_file} "") # clean
...
@@ -101,6 +101,8 @@ file(WRITE ${offline_lib_registry_file} "") # clean
set
(
__lite_cc_files
""
;
""
)
set
(
__lite_cc_files
""
;
""
)
set
(
__lite_cc_files
"
${
CMAKE_BINARY_DIR
}
/lite_cc_files.txt"
)
set
(
__lite_cc_files
"
${
CMAKE_BINARY_DIR
}
/lite_cc_files.txt"
)
file
(
WRITE
${
__lite_cc_files
}
""
)
# clean
file
(
WRITE
${
__lite_cc_files
}
""
)
# clean
# cc_library with branch support.
# cc_library with branch support.
# The branches:
# The branches:
# X86_DEPS: works only when LITE_WITH_X86 is ON.
# X86_DEPS: works only when LITE_WITH_X86 is ON.
...
...
paddle/fluid/lite/demo/java/README.md
浏览文件 @
90b458d2
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
## 手动编译(给测试人员需要更新 demo 模型或 .so 库可阅读)
## 手动编译(给测试人员需要更新 demo 模型或 .so 库可阅读)
###编译:
###
编译:
首先在PaddleLite的开发Docker镜像中,拉取最新PaddleLite代码,编译对应你手机架构的预测库,
首先在PaddleLite的开发Docker镜像中,拉取最新PaddleLite代码,编译对应你手机架构的预测库,
下面我们以arm8 架构举例。进入paddlelite 目录,运行以下cmake 和make 命令:
下面我们以arm8 架构举例。进入paddlelite 目录,运行以下cmake 和make 命令:
...
...
paddle/fluid/lite/demo/java/android/.gitignore
浏览文件 @
90b458d2
*.iml
*.iml
.gradle
/local.properties
/local.properties
/.idea/caches
/.idea/caches
/.idea/libraries
/.idea/libraries
...
...
paddle/fluid/lite/demo/java/android/PaddlePredictor/app/build.gradle
0 → 100644
浏览文件 @
90b458d2
apply
plugin:
'com.android.application'
android
{
compileSdkVersion
28
defaultConfig
{
applicationId
"com.baidu.paddle.lite"
minSdkVersion
23
targetSdkVersion
28
versionCode
1
versionName
"1.0"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
}
buildTypes
{
release
{
minifyEnabled
false
proguardFiles
getDefaultProguardFile
(
'proguard-android-optimize.txt'
),
'proguard-rules.pro'
}
}
}
dependencies
{
implementation
fileTree
(
dir:
'libs'
,
include:
[
'*.jar'
])
implementation
'com.android.support:appcompat-v7:28.0.0'
implementation
'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation
'junit:junit:4.12'
androidTestImplementation
'com.android.support.test:runner:1.0.2'
androidTestImplementation
'com.android.support.test.espresso:espresso-core:3.0.2'
}
paddle/fluid/lite/demo/java/android/PaddlePredictor/build.gradle
0 → 100644
浏览文件 @
90b458d2
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript
{
repositories
{
google
()
jcenter
()
}
dependencies
{
classpath
'com.android.tools.build:gradle:3.4.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects
{
repositories
{
google
()
jcenter
()
}
}
task
clean
(
type:
Delete
)
{
delete
rootProject
.
buildDir
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录