Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle-Lite
提交
468acd8d
P
Paddle-Lite
项目概览
PaddlePaddle
/
Paddle-Lite
通知
331
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看板
未验证
提交
468acd8d
编写于
4月 28, 2020
作者:
H
HappyAngel
提交者:
GitHub
4月 28, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[arm]delete lite_with_clang define (#3515)
* remove lite_with_clang, test=develop * fiix format, test=develop
上级
4e0835ca
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
0 addition
and
13 deletion
+0
-13
lite/CMakeLists.txt
lite/CMakeLists.txt
+0
-1
lite/tools/build.sh
lite/tools/build.sh
+0
-12
未找到文件。
lite/CMakeLists.txt
浏览文件 @
468acd8d
...
...
@@ -16,7 +16,6 @@ message(STATUS "LITE_WITH_MLU:\t${LITE_WITH_MLU}")
message
(
STATUS
"LITE_WITH_BM:
\t
${
LITE_WITH_BM
}
"
)
message
(
STATUS
"LITE_WITH_PROFILE:
\t
${
LITE_WITH_PROFILE
}
"
)
message
(
STATUS
"LITE_WITH_CV:
\t
${
LITE_WITH_CV
}
"
)
message
(
STATUS
"LITE_WITH_ARM_LANG:
\t
${
LITE_WITH_ARM_LANG
}
"
)
set
(
LITE_MODEL_DIR
"
${
THIRD_PARTY_PATH
}
/install"
)
set
(
LITE_ON_MOBILE
${
LITE_WITH_LIGHT_WEIGHT_FRAMEWORK
}
)
...
...
lite/tools/build.sh
浏览文件 @
468acd8d
...
...
@@ -31,7 +31,6 @@ BUILD_APU=OFF
APU_DDK_ROOT
=
"
$(
pwd
)
/apu_sdk_lib/"
BUILD_RKNPU
=
OFF
RKNPU_DDK_ROOT
=
"
$(
pwd
)
/rknpu/"
LITE_WITH_ARM_LANG
=
OFF
PYTHON_EXECUTABLE_OPTION
=
""
readonly
THIRDPARTY_TAR
=
https://paddle-inference-dist.bj.bcebos.com/PaddleLite/third-party-05b862.tar.gz
...
...
@@ -49,14 +48,6 @@ fi
function
prepare_workspace
{
local
root_dir
=
$1
local
build_dir
=
$2
# ARM LANG
if
[
${
ARM_LANG
}
==
"clang"
]
;
then
LITE_WITH_ARM_LANG
=
ON
else
LITE_WITH_ARM_LANG
=
OFF
fi
echo
"ARM_LANG is
${
ARM_LANG
}
"
echo
"LITE_WITH_ARM_LANG is
${
LITE_WITH_ARM_LANG
}
"
# in build directory
# 1. Prepare gen_code file
GEN_CODE_PATH_PREFIX
=
$build_dir
/lite/gen_code
...
...
@@ -138,7 +129,6 @@ function make_tiny_publish_so {
-DANDROID_STL_TYPE
=
$android_stl
\
-DLITE_BUILD_EXTRA
=
$BUILD_EXTRA
\
-DLITE_WITH_CV
=
$BUILD_CV
\
-DLITE_WITH_ARM_LANG
=
$LITE_WITH_ARM_LANG
\
-DLITE_BUILD_TAILOR
=
$BUILD_TAILOR
\
-DLITE_OPTMODEL_DIR
=
$OPTMODEL_DIR
\
-DLITE_WITH_NPU
=
$BUILD_NPU
\
...
...
@@ -231,7 +221,6 @@ function make_full_publish_so {
-DANDROID_STL_TYPE
=
$android_stl
\
-DLITE_BUILD_EXTRA
=
$BUILD_EXTRA
\
-DLITE_WITH_CV
=
$BUILD_CV
\
-DLITE_WITH_ARM_LANG
=
$LITE_WITH_ARM_LANG
\
-DLITE_BUILD_TAILOR
=
$BUILD_TAILOR
\
-DLITE_OPTMODEL_DIR
=
$OPTMODEL_DIR
\
-DLITE_WITH_NPU
=
$BUILD_NPU
\
...
...
@@ -272,7 +261,6 @@ function make_all_tests {
-DWITH_TESTING
=
ON
\
-DLITE_BUILD_EXTRA
=
$BUILD_EXTRA
\
-DLITE_WITH_CV
=
$BUILD_CV
\
-DLITE_WITH_ARM_LANG
=
$LITE_WITH_ARM_LANG
\
-DLITE_WITH_NPU
=
$BUILD_NPU
\
-DNPU_DDK_ROOT
=
$NPU_DDK_ROOT
\
-DLITE_WITH_XPU
=
$BUILD_XPU
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录