小鹏项目:
mentor发送编译指令:
软件编译: fvg3.bat arm --target all -p cpj_xpengEvo -v f30bevoo -j 12 -hw sc3e -b dev --prm full --swid jenkins --compress on
UT 报告编译: fvg3.bat less_llvm -m full -p cpj_xpengEvo -v f30bevo -c Debug -cov on --component ov_lds
bat文件配置
使用mpc3_build_repo_fvg3_lfs启动mpc_build_Xpeng.bat
mpc3_build_repo_fvg3_lfs.bat
根据mentor发送的编译指令修改.bat文件
call命令
call fvg3.bat arm -m configure -p %proj% -v %var% -j %threads% -hw %hw% -b dev -t apu --swid jenkins --prm full --ccache on --compress on -rel dev 2>&1 | tee build_apu_2.log
| 参数 | 值 | 功能说明 |
|---|---|---|
| -m | build/clean/config | 设置模式 |
| -p | project | 具体根据mentor指令来 |
| -v | variant | 具体根据mentor指令来 |
| -hw | hardware | 具体根据mentor指令来 |
| -t | APU | 构建目标APU |
| -ccache | on | 启动编译缓存 |
编译缓存的概念 编译后留下缓存下次就不需要重新编译了,因为某些原因编译失败,因为有缓存的原因所以不需要从头编译