From: Paul Eggleton Date: Thu, 23 Jun 2016 12:06:58 +0000 (+1200) Subject: classes/cmake: enable progress for do_compile X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~25155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f77ea95ba5cd337f01f2a1b4fe9466feb6af9440;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git classes/cmake: enable progress for do_compile cmake outputs percentage complete as part of its compilation process, so we can enable BitBake's new progress scanning for do_compile here. Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index e7883105dab..b18152a8edd 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -124,6 +124,7 @@ cmake_do_configure() { -Wno-dev } +do_compile[progress] = "percent" cmake_do_compile() { cd ${B} base_do_compile VERBOSE=1 diff --git a/meta/recipes-devtools/cmake/cmake-native_3.5.2.bb b/meta/recipes-devtools/cmake/cmake-native_3.5.2.bb index cb4e749d7a5..33930fbb9cd 100644 --- a/meta/recipes-devtools/cmake/cmake-native_3.5.2.bb +++ b/meta/recipes-devtools/cmake/cmake-native_3.5.2.bb @@ -14,3 +14,5 @@ CMAKE_EXTRACONF = "\ -DENABLE_ACL=0 -DHAVE_ACL_LIBACL_H=0 \ -DHAVE_SYS_ACL_H=0 \ " + +do_compile[progress] = "percent"