summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common
diff options
context:
space:
mode:
authorRodriguez, Christian <christian.rodriguez@intel.com>2019-04-10 23:27:05 +0800
committerFeng, Bob C <bob.c.feng@intel.com>2019-04-16 13:14:15 +0800
commit0eccea3fbe2f6d4999d972d9310d4f2717f5100c (patch)
tree5d79a436e22816d68d5fde7fc8dfdcdbb41d5f7e /BaseTools/Source/Python/Common
parent87bfb9bcb74415caf5aaff1e5b9bcdd85fdcbc92 (diff)
downloadedk2-0eccea3fbe2f6d4999d972d9310d4f2717f5100c.tar.gz
edk2-0eccea3fbe2f6d4999d972d9310d4f2717f5100c.tar.bz2
edk2-0eccea3fbe2f6d4999d972d9310d4f2717f5100c.zip
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 <christian.rodriguez@intel.com> Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common')
-rw-r--r--BaseTools/Source/Python/Common/GlobalData.py4
1 files changed, 4 insertions, 0 deletions
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()