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.1960.1575350272400827632 for ; Mon, 02 Dec 2019 21:17:58 -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 orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Dec 2019 21:17:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,271,1571727600"; d="scan'208";a="222693027" Received: from jshi19-mobl.ccr.corp.intel.com ([10.254.209.105]) by orsmga002.jf.intel.com with ESMTP; 02 Dec 2019 21:17:56 -0800 From: "Steven Shi" To: devel@edk2.groups.io Cc: liming.gao@intel.com, bob.c.feng@intel.com Subject: [PATCH v2 4/4] BaseTools: Remove redundant binary cache file Date: Tue, 3 Dec 2019 13:17:18 +0800 Message-Id: <20191203051718.22508-5-steven.shi@intel.com> X-Mailer: git-send-email 2.17.1.windows.2 In-Reply-To: <20191203051718.22508-1-steven.shi@intel.com> References: <20191203051718.22508-1-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 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.17.1