[edk2-devel] [PATCH 4/4] BaseTools: Remove redundant binary cache file

Steven Shi posted 4 patches 6 years, 2 months ago
There is a newer version of this series
[edk2-devel] [PATCH 4/4] BaseTools: Remove redundant binary cache file
Posted by Steven Shi 6 years, 2 months ago
From: Steven <steven.shi@intel.com>

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.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Signed-off-by: Steven Shi <steven.shi@intel.com>
---
 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.<BR>
-# 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
-- 
2.16.1.windows.4


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#50879): https://edk2.groups.io/g/devel/message/50879
Mute This Topic: https://groups.io/mt/60552484/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-