compile the source code
python build.py ipcamera_hi3516dv300
python build.py ipcamera_hi3516dv300
Error: /usr/bin/clang is not OHOS compiler, please install compiler.
usage:
python build.py ipcamera_hi3516dv300
python build.py ipcamera_hi3518ev300
python build.py wifiiot
positional arguments:
product Name of the product
optional arguments:
-h, --help show this help message and exit
-b BUILD_TYPE, --build_type BUILD_TYPE
release or debug version.
-t [TEST [TEST ...]], --test [TEST [TEST ...]]
Compile test suit
-n, --ndk Compile ndk
需要用文檔中的LLVM
cd /tools &&
curl -LO http://tools.harmonyos.com/mirrors/clang/9.0.0-34042/linux/llvm-linux-9.0.0-34042.tar &&
tar xvf /tools/llvm-linux-9.0.0-34042.tar &&
echo "export PATH=/tools/llvm/bin:$PATH" >> /etc/profile
https://gitee.com/keithyau/build_lite/blob/master/Dockerfile
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
登录 后才可以发表评论