public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Steven Shi" <steven.shi@intel.com>
To: devel@edk2.groups.io
Cc: liming.gao@intel.com, bob.c.feng@intel.com
Subject: [PATCH v2 0/4] BaseTools: Leverage compiler output dependency files for binary cache
Date: Tue,  3 Dec 2019 13:17:14 +0800	[thread overview]
Message-ID: <20191203051718.22508-1-steven.shi@intel.com> (raw)

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


             reply	other threads:[~2019-12-03  5:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-03  5:17 Steven Shi [this message]
2019-12-03  5:17 ` [PATCH v2 1/4] BaseTools: store more complete output files in binary cache Steven Shi
2019-12-03  5:17 ` [PATCH v2 2/4] BaseTools: enhance the CacheCopyFile method arg names Steven Shi
2019-12-03  5:17 ` [PATCH v2 3/4] BaseTools: Leverage compiler output to optimize binary cache Steven Shi
2019-12-03  5:17 ` [PATCH v2 4/4] BaseTools: Remove redundant binary cache file Steven Shi
2019-12-03  5:33 ` [PATCH v2 0/4] BaseTools: Leverage compiler output dependency files for binary cache Bob Feng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191203051718.22508-1-steven.shi@intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox