[edk2-devel] [PATCH v2 0/4] BaseTools: Leverage compiler output dependency files for binary cache

Bob Feng via Groups.Io bob.c.feng=intel.com at groups.io
Tue Dec 3 05:33:51 UTC 2019


For this patch set, Reviewed-by: Bob Feng <bob.c.feng at intel.com>

-----Original Message-----
From: Shi, Steven 
Sent: Tuesday, December 3, 2019 1:17 PM
To: devel at edk2.groups.io
Cc: Gao, Liming <liming.gao at intel.com>; Feng, Bob C <bob.c.feng at intel.com>
Subject: [PATCH v2 0/4] BaseTools: Leverage compiler output dependency files for binary cache

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2353

This patch is based on patch set: https://edk2.groups.io/g/devel/message/50360
You can directly try this patch set in this branch: https://github.com/shijunjing/edk2/tree/incrmtl_fix_v8

A previous patch set (https://edk2.groups.io/g/devel/message/50360)
enhances Incremental Build, which is to use c preprocessor and trim tool to generate dependency files for the source file.
This patch set is enhance the binary cache to follow the new method of dependency files generation through compiler, and redesign the binary cache intermediate meta files format.

V2:
Rebase the change on the latest edk2 to fix the patch set git apply failure.

V1:
Initial patch set

Shi, Steven (4):
  BaseTools: store more complete output files in binary cache
  BaseTools: enhance the CacheCopyFile method arg names
  BaseTools: Leverage compiler output to optimize binary cache
  BaseTools: Remove redundant binary cache file

 .../Source/Python/AutoGen/AutoGenWorker.py    |   77 +-
 BaseTools/Source/Python/AutoGen/CacheIR.py    |   29 -
 BaseTools/Source/Python/AutoGen/DataPipe.py   |    2 +
 .../Source/Python/AutoGen/ModuleAutoGen.py    | 1108 +++++++----------
 .../Source/Python/AutoGen/WorkspaceAutoGen.py |   64 +-
 BaseTools/Source/Python/Common/GlobalData.py  |   35 +-
 BaseTools/Source/Python/build/build.py        |  276 ++--
 7 files changed, 721 insertions(+), 870 deletions(-)  delete mode 100755 BaseTools/Source/Python/AutoGen/CacheIR.py

--
2.17.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#51580): https://edk2.groups.io/g/devel/message/51580
Mute This Topic: https://groups.io/mt/65521102/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