未验证 提交 8d1b836d 编写于 作者: H hong19860320 提交者: GitHub

disable clang compiling and add error message (#2102)

上级 8b6976b2
......@@ -221,7 +221,7 @@ function print_usage {
echo -e "argument choices:"
echo -e "--arm_os:\t android|ios|ios64"
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
echo -e "tasks:"
......@@ -252,6 +252,13 @@ function main {
;;
--arm_lang=*)
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
;;
--android_stl=*)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册