From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mx.groups.io with SMTP id smtpd.web12.1960.1575350272400827632 for ; Mon, 02 Dec 2019 21:17:52 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.88, mailfrom: steven.shi@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Dec 2019 21:17:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,271,1571727600"; d="scan'208";a="222692970" Received: from jshi19-mobl.ccr.corp.intel.com ([10.254.209.105]) by orsmga002.jf.intel.com with ESMTP; 02 Dec 2019 21:17:50 -0800 From: "Steven Shi" 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 Message-Id: <20191203051718.22508-1-steven.shi@intel.com> X-Mailer: git-send-email 2.17.1.windows.2 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