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

Paul Eggleton paul.eggleton at linux.intel.com
Mon Jun 27 17:49:39 UTC 2016


On Mon, 27 Jun 2016 17:16:31 Burton, Ross wrote:
> 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%.

Great, that's just broken... any suggestions on what to do about it?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-core mailing list