summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/AutoGen/AutoGenWorker.py
diff options
context:
space:
mode:
authorShi, Steven <steven.shi@intel.com>2019-08-15 22:26:18 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-08-20 14:06:06 +0800
commit56c786b0a9fd4f08b1f0bc10b7718a7577cb0146 (patch)
tree86f4bb9cc010040fd77dd4b6fa0db4695a4e1b76 /BaseTools/Source/Python/AutoGen/AutoGenWorker.py
parent0e7e7a264cd80ab71ea0f9e9da2d0617d4b539c4 (diff)
downloadedk2-56c786b0a9fd4f08b1f0bc10b7718a7577cb0146.tar.gz
edk2-56c786b0a9fd4f08b1f0bc10b7718a7577cb0146.tar.bz2
edk2-56c786b0a9fd4f08b1f0bc10b7718a7577cb0146.zip
BaseTools: Print first cache missing file for build cachle
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1925 When a module build cache miss, add support to print the first cache missing file path and name. Cc: Liming Gao <liming.gao@intel.com> Cc: Bob Feng <bob.c.feng@intel.com> Signed-off-by: Steven Shi <steven.shi@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/AutoGen/AutoGenWorker.py')
-rwxr-xr-xBaseTools/Source/Python/AutoGen/AutoGenWorker.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/BaseTools/Source/Python/AutoGen/AutoGenWorker.py b/BaseTools/Source/Python/AutoGen/AutoGenWorker.py
index a84ed46f2e..30d2f96fc7 100755
--- a/BaseTools/Source/Python/AutoGen/AutoGenWorker.py
+++ b/BaseTools/Source/Python/AutoGen/AutoGenWorker.py
@@ -246,6 +246,8 @@ class AutoGenWorkerInProcess(mp.Process):
Ma.GenMakeHash(GlobalData.gCacheIR)
if Ma.CanSkipbyMakeCache(GlobalData.gCacheIR):
continue
+ else:
+ Ma.PrintFirstMakeCacheMissFile(GlobalData.gCacheIR)
except Empty:
pass
except: