From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: steven.shi@intel.com) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by groups.io with SMTP; Thu, 08 Aug 2019 05:25:42 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Aug 2019 05:25:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,361,1559545200"; d="scan'208";a="174833123" Received: from jshi19-mobl.ccr.corp.intel.com ([10.254.213.128]) by fmsmga008.fm.intel.com with ESMTP; 08 Aug 2019 05:25:40 -0700 From: "Steven Shi" To: devel@edk2.groups.io Cc: liming.gao@intel.com, bob.c.feng@intel.com, christian.rodriguez@intel.com, michael.johnson@intel.com, "Shi, Steven" Subject: [PATCH 0/4] Build cache enhancement Date: Thu, 8 Aug 2019 20:25:15 +0800 Message-Id: <20190808122519.25516-1-steven.shi@intel.com> X-Mailer: git-send-email 2.17.1.windows.2 From: "Shi, Steven" Enhance the edk2 build cache with below patches: Patch 01/04: Improve the cache hit rate through new cache checkpoint and hash algorithm Patch 02/04: Print more info to explain why a module build cache miss Patch 03/04: Fix the unsafe [self.Arch][self.Name] key usage in build cache Patch 04/04 Add the GenFds multi-thread support in build cache This patch set is based on patch set of [Patch 00/10 V8] Enable multiple process AutoGen https://edk2.groups.io/g/devel/topic/patch_00_10_v8_enable/32779325?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,140,32779325 You can directly try this patch set in the branch: https://github.com/shijunjing/edk2/tree/build_cache_improve_v1 Shi, Steven (4): BaseTools: Improve the cache hit in the edk2 build cache BaseTools: Print first cache missing file for build cachle BaseTools: Change the [Arch][Name] module key in Build cache BaseTools: Add GenFds multi-thread support in build cache .../Source/Python/AutoGen/AutoGenWorker.py | 23 + BaseTools/Source/Python/AutoGen/CacheIR.py | 28 + BaseTools/Source/Python/AutoGen/DataPipe.py | 8 + BaseTools/Source/Python/AutoGen/GenMake.py | 229 +++--- .../Source/Python/AutoGen/ModuleAutoGen.py | 742 ++++++++++++++++-- BaseTools/Source/Python/Common/GlobalData.py | 9 + BaseTools/Source/Python/build/build.py | 171 ++-- 7 files changed, 979 insertions(+), 231 deletions(-) mode change 100644 => 100755 BaseTools/Source/Python/AutoGen/AutoGenWorker.py create mode 100755 BaseTools/Source/Python/AutoGen/CacheIR.py mode change 100644 => 100755 BaseTools/Source/Python/AutoGen/DataPipe.py mode change 100644 => 100755 BaseTools/Source/Python/AutoGen/GenMake.py mode change 100644 => 100755 BaseTools/Source/Python/AutoGen/ModuleAutoGen.py mode change 100644 => 100755 BaseTools/Source/Python/Common/GlobalData.py mode change 100644 => 100755 BaseTools/Source/Python/build/build.py -- 2.17.1