From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com []) by mx.groups.io with SMTP id smtpd.web12.18856.1574155650687557305 for ; Tue, 19 Nov 2019 01:27:38 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: steven.shi@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Nov 2019 01:27:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,322,1569308400"; d="scan'208";a="209363458" Received: from jshi19-mobl.ccr.corp.intel.com ([10.254.214.80]) by orsmga006.jf.intel.com with ESMTP; 19 Nov 2019 01:27:37 -0800 From: "Steven Shi" To: devel@edk2.groups.io Cc: liming.gao@intel.com, bob.c.feng@intel.com, Steven Subject: [PATCH 4/4] BaseTools: Remove redundant binary cache file Date: Tue, 19 Nov 2019 17:27:01 +0800 Message-Id: <20191119092701.22988-5-steven.shi@intel.com> X-Mailer: git-send-email 2.17.1.windows.2 In-Reply-To: <20191119092701.22988-1-steven.shi@intel.com> References: <20191119092701.22988-1-steven.shi@intel.com> From: Steven 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 Cc: Bob Feng Signed-off-by: Steven Shi --- 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 -- 2.16.1.windows.4