diff options
author | Rodriguez, Christian <christian.rodriguez@intel.com> | 2019-04-10 23:27:05 +0800 |
---|---|---|
committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-04-16 13:14:15 +0800 |
commit | 0eccea3fbe2f6d4999d972d9310d4f2717f5100c (patch) | |
tree | 5d79a436e22816d68d5fde7fc8dfdcdbb41d5f7e /BaseTools/Source/Python/Common/GlobalData.py | |
parent | 87bfb9bcb74415caf5aaff1e5b9bcdd85fdcbc92 (diff) | |
download | edk2-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/GlobalData.py')
-rw-r--r-- | BaseTools/Source/Python/Common/GlobalData.py | 4 |
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()
|