[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1169/8267] classes/cmake: enable progress for do_compile



commit 4ebe0e1175c4074fe6c5be9bbf6a1cdd41e7f7ee
Author: Paul Eggleton <paul eggleton linux intel com>
Date:   Fri Jun 24 00:06:58 2016 +1200

    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.
    
    (From OE-Core rev: f77ea95ba5cd337f01f2a1b4fe9466feb6af9440)
    
    Signed-off-by: Paul Eggleton <paul eggleton linux intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/cmake.bbclass                        |    1 +
 meta/recipes-devtools/cmake/cmake-native_3.5.2.bb |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index e788310..b18152a 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 cb4e749..33930fb 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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]