]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/Common/GlobalData.py
BaseTools: Leverage compiler output to optimize binary cache
[mirror_edk2.git] / BaseTools / Source / Python / Common / GlobalData.py
index 74c6d0079bbab471f615b7e60e8d2e4e3d0df617..0b3ebe035d1d148d504a5444a83cc2cd07375918 100755 (executable)
@@ -104,29 +104,20 @@ gUseHashCache = None
 gBinCacheDest = None\r
 gBinCacheSource = None\r
 gPlatformHash = None\r
-gPackageHash = {}\r
-gModuleHash = {}\r
+gPlatformHashFile = None\r
+gPackageHash = None\r
+gPackageHashFile = None\r
+gModuleHashFile = None\r
+gCMakeHashFile = None\r
+gHashChainStatus = None\r
+gModulePreMakeCacheStatus = None\r
+gModuleMakeCacheStatus = None\r
+gFileHashDict = None\r
+gModuleAllCacheStatus = None\r
+gModuleCacheHit = None\r
+\r
 gEnableGenfdsMultiThread = True\r
 gSikpAutoGenCache = set()\r
-\r
-# Dictionary for tracking Module build status as success or failure\r
-# Top Dict:     Key: Arch Type              Value: Dictionary\r
-# Second Dict:  Key: AutoGen Obj    Value: 'SUCCESS'\'FAIL'\'FAIL_METAFILE'\r
-gModuleBuildTracking = dict()\r
-\r
-# Dictionary of booleans that dictate whether a module or\r
-# library can be skiped\r
-# Top Dict:     Key: Arch Type              Value: Dictionary\r
-# Second Dict:  Key: Module\Library Name    Value: True\False\r
-gBuildHashSkipTracking = dict()\r
-\r
-# Common dictionary to share module cache intermediate result and state\r
-gCacheIR = None\r
-# Common lock for the module cache intermediate data\r
-cache_lock = None\r
 # Common lock for the file access in multiple process AutoGens\r
 file_lock = None\r
-# Common dictionary to share platform libraries' constant Pcd\r
-libConstPcd = None\r
-# Common dictionary to share platform libraries' reference info\r
-Refes = None\r
+\r