<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 23 June 2016 at 13:06, Paul Eggleton <span dir="ltr"><<a href="mailto:paul.eggleton@linux.intel.com" target="_blank">paul.eggleton@linux.intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">cmake</span> outputs percentage complete as part of its compilation process, so<br>
we can enable BitBake's new progress scanning for do_compile here.<br></blockquote></div><br>Some recipes, such as clang, have something like sub-builds:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">[ 0%] Configuring NATIVE LLVM...</div><div class="gmail_extra">[ 0%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Main.cpp.o</div><div class="gmail_extra">[ 20%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/SetTheory.cpp.o</div><div class="gmail_extra">[ 20%] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Error.cpp.o</div><div class="gmail_extra">...</div><div class="gmail_extra"><div class="gmail_extra">100%] Built target NATIVE_LIB_LLVMSUPPORT</div><div class="gmail_extra">[100%] Building native TableGen...</div><div class="gmail_extra">[ 16%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/AsmMatcherEmitter.cpp.o</div><div class="gmail_extra"><div class="gmail_extra">[ 33%] Built target obj.llvm-tblgen</div><div class="gmail_extra">[100%] Built target LLVMSupport</div><div class="gmail_extra">[100%] Built target LLVMTableGen</div><div class="gmail_extra">[100%] Linking CXX executable ../../bin/llvm-tblgen</div><div class="gmail_extra">[100%] Built target llvm-tblgen</div><div class="gmail_extra">[100%] Built target LLVM-tablegen-host</div><div class="gmail_extra">[ 0%] Configuring NATIVE LLVM...</div><div class="gmail_extra">[ 20%] Built target LLVMTableGen</div><div class="gmail_extra">...</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">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%.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div></div></div></div>