提交 7c6cd672 编写于 作者: H hong19860320 提交者: GitHub

disable clang compiling and add error message (#2102)

上级 21773b6c
...@@ -221,7 +221,7 @@ function print_usage { ...@@ -221,7 +221,7 @@ function print_usage {
echo -e "argument choices:" echo -e "argument choices:"
echo -e "--arm_os:\t android|ios|ios64" echo -e "--arm_os:\t android|ios|ios64"
echo -e "--arm_abi:\t armv8|armv7" echo -e "--arm_abi:\t armv8|armv7"
echo -e "--arm_lang:\t gcc|clang (for android)" echo -e "--arm_lang:\t only support gcc now, clang will be supported in future.(for android)"
echo -e "--android_stl:\t c++_static|c++_shared (for android)" echo -e "--android_stl:\t c++_static|c++_shared (for android)"
echo echo
echo -e "tasks:" echo -e "tasks:"
...@@ -252,6 +252,13 @@ function main { ...@@ -252,6 +252,13 @@ function main {
;; ;;
--arm_lang=*) --arm_lang=*)
ARM_LANG="${i#*=}" ARM_LANG="${i#*=}"
if [ ${ARM_LANG} == "clang" ]; then
set +x
echo
echo -e "error: only support gcc now, clang will be supported in future."
echo
exit 1
fi
shift shift
;; ;;
--android_stl=*) --android_stl=*)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册