From a80032dc44a1071a34f4415a7c5cef5170ee6159 Mon Sep 17 00:00:00 2001 From: Steven Shi Date: Tue, 19 Nov 2019 16:22:08 +0800 Subject: [PATCH] BaseTools: Remove redundant binary cache file Redesign the binary cache and not need to save the cache intermediate result and state in memory as a ModuleBuildCacheIR class instance. So remove the CacheIR.py which define the ModuleBuildCacheIR class. Signed-off-by: Steven Shi Cc: Liming Gao Cc: Bob Feng Reviewed-by: Bob Feng --- BaseTools/Source/Python/AutoGen/CacheIR.py | 29 ---------------------- 1 file changed, 29 deletions(-) delete mode 100755 BaseTools/Source/Python/AutoGen/CacheIR.py diff --git a/BaseTools/Source/Python/AutoGen/CacheIR.py b/BaseTools/Source/Python/AutoGen/CacheIR.py deleted file mode 100755 index 715be5273c..0000000000 --- a/BaseTools/Source/Python/AutoGen/CacheIR.py +++ /dev/null @@ -1,29 +0,0 @@ -## @file -# Build cache intermediate result and state -# -# Copyright (c) 2019, Intel Corporation. All rights reserved.
-# SPDX-License-Identifier: BSD-2-Clause-Patent -# - -class ModuleBuildCacheIR(): - def __init__(self, Path, Arch): - self.ModulePath = Path - self.ModuleArch = Arch - self.ModuleFilesHashDigest = None - self.ModuleFilesHashHexDigest = None - self.ModuleFilesChain = [] - self.PreMakefileHashHexDigest = None - self.CreateCodeFileDone = False - self.CreateMakeFileDone = False - self.MakefilePath = None - self.AutoGenFileList = None - self.DependencyHeaderFileSet = None - self.MakeHeaderFilesHashChain = None - self.MakeHeaderFilesHashDigest = None - self.MakeHeaderFilesHashChain = [] - self.MakeHashDigest = None - self.MakeHashHexDigest = None - self.MakeHashChain = [] - self.CacheCrash = False - self.PreMakeCacheHit = False - self.MakeCacheHit = False