From 0eccea3fbe2f6d4999d972d9310d4f2717f5100c Mon Sep 17 00:00:00 2001 From: "Rodriguez, Christian" Date: Wed, 10 Apr 2019 23:27:05 +0800 Subject: BaseTools: Hash false success with back to back builds BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1692 Add error handling to the --hash feature so that hash files are invalidated when a build error occurs. Signed-off-by: Christian Rodriguez Cc: Bob Feng Cc: Liming Gao Cc: Yonghong Zhu Reviewed-by: Bob Feng --- BaseTools/Source/Python/Common/GlobalData.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'BaseTools/Source/Python/Common/GlobalData.py') diff --git a/BaseTools/Source/Python/Common/GlobalData.py b/BaseTools/Source/Python/Common/GlobalData.py index 1853f1d2f6..79f23c892d 100644 --- a/BaseTools/Source/Python/Common/GlobalData.py +++ b/BaseTools/Source/Python/Common/GlobalData.py @@ -108,3 +108,7 @@ gPackageHash = {} gModuleHash = {} gEnableGenfdsMultiThread = False gSikpAutoGenCache = set() + +# Dictionary for tracking Module build status as success or failure +# False -> Fail : True -> Success +gModuleBuildTracking = dict() -- cgit v1.2.3