[OE-core] [PATCH v2 02/10] classes/cmake: enable progress for do_compile

Burton, Ross ross.burton at intel.com
Mon Jun 27 16:16:31 UTC 2016


On 23 June 2016 at 13:06, Paul Eggleton <paul.eggleton at linux.intel.com>
wrote:

> cmake outputs percentage complete as part of its compilation process, so
> we can enable BitBake's new progress scanning for do_compile here.
>

Some recipes, such as clang, have something like sub-builds:

[  0%] Configuring NATIVE LLVM...
[  0%] Building CXX object
lib/TableGen/CMakeFiles/LLVMTableGen.dir/Main.cpp.o
[ 20%] Building CXX object
lib/TableGen/CMakeFiles/LLVMTableGen.dir/SetTheory.cpp.o
[ 20%] Building CXX object
lib/TableGen/CMakeFiles/LLVMTableGen.dir/Error.cpp.o
...
100%] Built target NATIVE_LIB_LLVMSUPPORT
[100%] Building native TableGen...
[ 16%] Building CXX object
utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
[ 33%] Built target obj.llvm-tblgen
[100%] Built target LLVMSupport
[100%] Built target LLVMTableGen
[100%] Linking CXX executable ../../bin/llvm-tblgen
[100%] Built target llvm-tblgen
[100%] Built target LLVM-tablegen-host
[  0%] Configuring NATIVE LLVM...
[ 20%] Built target LLVMTableGen
...


The first few lines which went to 100% controlled the progress bar, but
that took about 5 seconds.  The rest of the build takes about 15 minutes
and for all that time the bar is pegged at 100%.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160627/d3e1c6d1/attachment-0002.html>


More information about the Openembedded-core mailing list