BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1868 Build need output the cache miss or hit notification message when consume the build cache. Current build does not output any message which is not clear for user to know whether the module built result is from cache or not. This patch adds message about the cache miss or hit when build is to consume the build cache. Cc: Liming Gao Cc: Bob Feng Cc: Steven Shi Signed-off-by: Zhiju.Fan --- BaseTools/Source/Python/AutoGen/AutoGen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py b/BaseTools/Source/Python/AutoGen/AutoGen.py index f1b8f9364b..a3de730d1f 100644 --- a/BaseTools/Source/Python/AutoGen/AutoGen.py +++ b/BaseTools/Source/Python/AutoGen/AutoGen.py @@ -3957,7 +3957,9 @@ class ModuleAutoGen(AutoGen): shutil.copy(File, destination_dir) if self.Name == "PcdPeim" or self.Name == "PcdDxe": CreatePcdDatabaseCode(self, TemplateString(), TemplateString()) + EdkLogger.quiet("Cache hit ... %s[%s]" % (self.MetaFile.Path,self.Arch)) return True + EdkLogger.quiet("Cache miss ... %s[%s]" % (self.MetaFile.Path, self.Arch)) return False ## Create makefile for the module and its dependent libraries -- 2.17.1.windows.2