From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [edk2-devel] BaseTools --hash malfunction after migrate from stable201905 to stable201908 To: Steven Shi ,devel@edk2.groups.io From: "Lin, Derek (HPS SW)" X-Originating-Location: US (15.211.153.76) X-Originating-Platform: Windows Chrome 76 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Fri, 27 Sep 2019 00:57:15 -0700 References: <06C8AB66E78EE34A949939824ABE2B3140183293@shsmsx102.ccr.corp.intel.com> In-Reply-To: <06C8AB66E78EE34A949939824ABE2B3140183293@shsmsx102.ccr.corp.intel.com> Message-ID: <13576.1569571035464933693@groups.io> X-Groupsio-MsgNum: 48208 Content-Type: multipart/mixed; boundary="bjDrB15IX9nPKaV0fqCm" --bjDrB15IX9nPKaV0fqCm Content-Type: multipart/alternative; boundary="p95poh5S23vXESWONq6c" --p95poh5S23vXESWONq6c Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Steven, Thanks for the fix! I've tried your patch with a minor fix as attached. 1=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 2=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A03=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 4 Build Duration:=C2=A0 =C2=A0 =C2=A0 =C2=A0 00:05:51=C2=A0 00:03:47=C2=A0 0= 0:05:15=C2=A0 00:04:31 AutoGen Duration:=C2=A0 00:03:32=C2=A0 00:03:08=C2=A0 00:03:14=C2=A0 00:03= :16 Make Duration:=C2=A0 =C2=A0 =C2=A0 =C2=A000:01:50=C2=A0 00:00:16=C2=A0 00:= 01:29=C2=A0 00:00:50 GenFds Duration:=C2=A0 =C2=A000:00:30=C2=A0 00:00:22=C2=A0 00:00:31=C2=A0 = 00:00:23 1: clean build with patch and --hash 2: incremental build 3. clean build without patch and without --hash 4. incremental build BTW, this data cannot compare with previous data I provided because they a= re built in different environment. In general, the result is as you said that it fix --hash functionality, bu= t not as quick as before. Also the cost of --hash in clean build is increased. --p95poh5S23vXESWONq6c Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Steven,

Thanks for the fix!
I've tried your patch with a= minor fix as attached.
            &nbs= p;                     &n= bsp;    1            2   =        3            &nbs= p;   4
Build Duration:        00:05:51  00:03:47&nb= sp; 00:05:15  00:04:31
AutoGen Duration:  00:03:32  00:03:08  00:03:14  = 00:03:16
Make Duration:       00:01:50  00:00:16 = ; 00:01:29  00:00:50
GenFds Duration:   00:00:30  00:00:22  00:00:31&n= bsp; 00:00:23

1: clean build with patch and --hash
2: incremental build
= 3. clean build without patch and without --hash
4. incremental build
BTW, this data cannot compare with previous data I provided becau= se they are built in different environment.

In general, the resu= lt is as you said that it fix --hash functionality, but not as quick as bef= ore.
Also the cost of --hash in clean build is increased. --p95poh5S23vXESWONq6c-- --bjDrB15IX9nPKaV0fqCm Content-Type: application/octet-stream; name="build.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="build.patch" RnJvbSA3ODVmMTA1YjZhZTY1ODI5OTZjYjFkYjM2ZjE4MmQ3OTY3Mjk1OTBjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEZXJlayBMaW4gPGRlcmVrLmxpbjJAaHBlLmNvbT4KRGF0ZTog RnJpLCAyNyBTZXAgMjAxOSAxNDowNjowNCArMDgwMApTdWJqZWN0OiBbUEFUQ0hdIFJlbW92ZSBn TW9kdWxlQnVpbGRUcmFja2luZwoKLS0tCiBCYXNlVG9vbHMvU291cmNlL1B5dGhvbi9BdXRvR2Vu L0dlbk1ha2UucHkgfCAyIC0tCiAxIGZpbGUgY2hhbmdlZCwgMiBkZWxldGlvbnMoLSkKCmRpZmYg LS1naXQgYS9CYXNlVG9vbHMvU291cmNlL1B5dGhvbi9BdXRvR2VuL0dlbk1ha2UucHkgYi9CYXNl VG9vbHMvU291cmNlL1B5dGhvbi9BdXRvR2VuL0dlb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