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

Steven Shi posted 4 patches 4 years, 4 months ago
Failed in applying to current master (apply log)
.../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
[edk2-devel] [PATCH v2 0/4] BaseTools: Leverage compiler output dependency files for binary cache
Posted by Steven Shi 4 years, 4 months ago
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 (#51570): https://edk2.groups.io/g/devel/message/51570
Mute This Topic: https://groups.io/mt/65521102/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH v2 0/4] BaseTools: Leverage compiler output dependency files for binary cache
Posted by Bob Feng 4 years, 4 months ago
For this patch set, Reviewed-by: Bob Feng <bob.c.feng@intel.com>

-----Original Message-----
From: Shi, Steven 
Sent: Tuesday, December 3, 2019 1:17 PM
To: devel@edk2.groups.io
Cc: Gao, Liming <liming.gao@intel.com>; Feng, Bob C <bob.c.feng@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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-