Paddle-Lite
Paddle-Lite copied to clipboard
[compile]add Oz compile option for clang,test=develop
当使用clang编译时,使用-Oz替换-Os编译选项以取得更好优化库体积的效果; 对于develop分支,armv8/c++_shared编译,采用-Os编译,库体积2.0M,采用-Oz编译,库体积1.9M,优化了0.1M的库体积。 armv8/c++_static编译,采用-Os编译,库体积2.4M,采用-Oz编译,库体积2.2M,优化了0.2M的库体积。
Thanks for your contribution!
https://emscripten.org/docs/optimizing/Optimizing-Code.html
不知道会不会对性能有影响还是影响比较小呢,可以QA测试一下吗
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Automatically closed by Paddle-bot.