public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Build cache enhancement
@ 2019-08-13  3:46 Steven Shi
  2019-08-13  3:46 ` [PATCH v2 1/4] BaseTools: Improve the cache hit in the edk2 build cache Steven Shi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Steven Shi @ 2019-08-13  3:46 UTC (permalink / raw)
  To: devel
  Cc: liming.gao, bob.c.feng, christian.rodriguez, michael.johnson,
	Shi, Steven

From: "Shi, Steven" <steven.shi@intel.com>

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

You can directly try this patch set in the branch:
https://github.com/shijunjing/edk2/tree/build_cache_improve_v2

V2:
Enhance the SaveHashChainFileToCache() function in ModuleAutoGen.py and
not need to call f.close() in the "with open(xxx) as f:" block. The
with block will close the file automatically

V1:
Initial patch set


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    | 739 ++++++++++++++++--
 BaseTools/Source/Python/Common/GlobalData.py  |   9 +
 BaseTools/Source/Python/build/build.py        | 171 ++--
 7 files changed, 976 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-08-13  3:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-13  3:46 [PATCH v2 0/4] Build cache enhancement Steven Shi
2019-08-13  3:46 ` [PATCH v2 1/4] BaseTools: Improve the cache hit in the edk2 build cache Steven Shi
2019-08-13  3:46 ` [PATCH v2 2/4] BaseTools: Print first cache missing file for build cachle Steven Shi
2019-08-13  3:46 ` [PATCH v2 3/4] BaseTools: Change the [Arch][Name] module key in Build cache Steven Shi
2019-08-13  3:46 ` [PATCH v2 4/4] BaseTools: Add GenFds multi-thread support in build cache Steven Shi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox