小鹏项目文件编译(.bat文件)

20 阅读1分钟

小鹏项目:

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文件配置

image.png

使用mpc3_build_repo_fvg3_lfs启动mpc_build_Xpeng.bat

image.png

mpc3_build_repo_fvg3_lfs.bat image.png

根据mentor发送的编译指令修改.bat文件

image.png

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

参数功能说明
-mbuild/clean/config设置模式
-pproject具体根据mentor指令来
-vvariant具体根据mentor指令来
-hwhardware具体根据mentor指令来
-tAPU构建目标APU
-ccacheon启动编译缓存

编译缓存的概念 编译后留下缓存下次就不需要重新编译了,因为某些原因编译失败,因为有缓存的原因所以不需要从头编译