[edk2-devel] [PATCH v2 4/4] BaseTools: Remove redundant binary cache file
Steven Shi via Groups.Io
steven.shi=intel.com at groups.io
Tue Dec 3 05:17:18 UTC 2019
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 at intel.com>
Cc: Bob Feng <bob.c.feng at intel.com>
Signed-off-by: Steven Shi <steven.shi at 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.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#51574): https://edk2.groups.io/g/devel/message/51574
Mute This Topic: https://groups.io/mt/65521214/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list