]> git.proxmox.com Git - mirror_edk2.git/commitdiff
BaseTools: Remove redundant binary cache file
authorSteven Shi <steven.shi@intel.com>
Tue, 19 Nov 2019 08:22:08 +0000 (16:22 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 10 Dec 2019 02:07:12 +0000 (02:07 +0000)
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 <steven.shi@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/AutoGen/CacheIR.py [deleted file]

diff --git a/BaseTools/Source/Python/AutoGen/CacheIR.py b/BaseTools/Source/Python/AutoGen/CacheIR.py
deleted file mode 100755 (executable)
index 715be52..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-## @file\r
-# Build cache intermediate result and state\r
-#\r
-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
-# SPDX-License-Identifier: BSD-2-Clause-Patent\r
-#\r
-\r
-class ModuleBuildCacheIR():\r
-    def __init__(self, Path, Arch):\r
-        self.ModulePath = Path\r
-        self.ModuleArch = Arch\r
-        self.ModuleFilesHashDigest = None\r
-        self.ModuleFilesHashHexDigest = None\r
-        self.ModuleFilesChain = []\r
-        self.PreMakefileHashHexDigest = None\r
-        self.CreateCodeFileDone = False\r
-        self.CreateMakeFileDone = False\r
-        self.MakefilePath = None\r
-        self.AutoGenFileList = None\r
-        self.DependencyHeaderFileSet = None\r
-        self.MakeHeaderFilesHashChain = None\r
-        self.MakeHeaderFilesHashDigest = None\r
-        self.MakeHeaderFilesHashChain = []\r
-        self.MakeHashDigest = None\r
-        self.MakeHashHexDigest = None\r
-        self.MakeHashChain = []\r
-        self.CacheCrash = False\r
-        self.PreMakeCacheHit = False\r
-        self.MakeCacheHit = False\r