From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@apple.com header.s=20180706 header.b=KNMrDRB+; spf=pass (domain: apple.com, ip: 17.171.2.72, mailfrom: afish@apple.com) Received: from ma1-aaemail-dr-lapp03.apple.com (ma1-aaemail-dr-lapp03.apple.com [17.171.2.72]) by groups.io with SMTP; Mon, 19 Aug 2019 11:17:04 -0700 Received: from pps.filterd (ma1-aaemail-dr-lapp03.apple.com [127.0.0.1]) by ma1-aaemail-dr-lapp03.apple.com (8.16.0.27/8.16.0.27) with SMTP id x7JI7L2E018368; Mon, 19 Aug 2019 11:17:02 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=sender : from : content-type : content-transfer-encoding : mime-version : subject : date : references : to : in-reply-to : message-id; s=20180706; bh=h1GLRosXzXNcOwqFw16mFanU3wiAKnKrR8MyNGMQE+k=; b=KNMrDRB+J/dQVL+JCgbOAm6kGnhoaQRKvzeEeSm1gzUcf+l7UoCWTdq1G4xOnZnZtMdY oxMIHiaJXGE+WvFdccH9OGa6fxLaUHKLxFG+340cxoR3eiMqjaXgweExsFau3PMxxpjt Mo/Jjkm6yIXVWLfb+FP1pSHhovi1idD7tKTCif30PffpoxMX016MPhc0/ssLyPZmjR8G qW6tScTPwcPgLJTFNe8Cz1mswBM9383zqgwEyE18sbui5wNi56P+/qcqxcV9Aw47Mwnw S9IK7NhmpToSxRmDbWVdYOqA0i1BNlKeVBWVmo87OfGky4zaHJ+YkuK/lXjiT84C2ffJ VQ== Received: from ma1-mtap-s03.corp.apple.com (ma1-mtap-s03.corp.apple.com [17.40.76.7]) by ma1-aaemail-dr-lapp03.apple.com with ESMTP id 2uegjv3ncr-4 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Mon, 19 Aug 2019 11:17:02 -0700 Received: from nwk-mmpp-sz12.apple.com (nwk-mmpp-sz12.apple.com [17.128.115.204]) by ma1-mtap-s03.corp.apple.com (Oracle Communications Messaging Server 8.0.2.4.20190507 64bit (built May 7 2019)) with ESMTPS id <0PWH0061HXGAVM90@ma1-mtap-s03.corp.apple.com>; Mon, 19 Aug 2019 11:17:01 -0700 (PDT) Received: from process_milters-daemon.nwk-mmpp-sz12.apple.com by nwk-mmpp-sz12.apple.com (Oracle Communications Messaging Server 8.0.2.4.20190507 64bit (built May 7 2019)) id <0PWH00C00W70IV00@nwk-mmpp-sz12.apple.com>; Mon, 19 Aug 2019 11:16:58 -0700 (PDT) X-Va-A: X-Va-T-CD: 7daa14ab80d2839c17f099a8fda5373c X-Va-E-CD: 1fd9c3eb7f565403ec393983c71771f2 X-Va-R-CD: eaa5690476cc79f8603a0e1ff11101d3 X-Va-CD: 0 X-Va-ID: fd9b3f6e-0fba-45d1-b36e-85b0156e1a11 X-V-A: X-V-T-CD: 7daa14ab80d2839c17f099a8fda5373c X-V-E-CD: 1fd9c3eb7f565403ec393983c71771f2 X-V-R-CD: eaa5690476cc79f8603a0e1ff11101d3 X-V-CD: 0 X-V-ID: 189e7478-02fd-4c75-81e0-cb6ca3073ac1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-19_04:,, signatures=0 Received: from [17.235.55.226] (unknown [17.235.55.226]) by nwk-mmpp-sz12.apple.com (Oracle Communications Messaging Server 8.0.2.4.20190507 64bit (built May 7 2019)) with ESMTPSA id <0PWH00K12XG99O60@nwk-mmpp-sz12.apple.com>; Mon, 19 Aug 2019 11:16:58 -0700 (PDT) Sender: afish@apple.com From: "Andrew Fish" MIME-version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [edk2-devel] BaseTools/BinWrappers question? Date: Mon, 19 Aug 2019 11:16:56 -0700 References: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4D37D8@SHSMSX104.ccr.corp.intel.com> To: devel@edk2.groups.io, liming.gao@intel.com In-reply-to: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4D37D8@SHSMSX104.ccr.corp.intel.com> Message-id: <2F680F43-0A8D-45D9-9F6E-BDEEFE123FA3@apple.com> X-Mailer: Apple Mail (2.3445.104.11) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-19_04:,, signatures=0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: quoted-printable > On Aug 19, 2019, at 6:09 AM, Liming Gao wrote: >=20 > Andrew: > This is the history reason. Before, Edk2 BaseTools included the binary = Windows tools in BaseTools\Bin\Win32. There is no BaseTools/BinWrappers/Win= dowsLike directory.=20 >=20 > When migrate BaseTools Windows tools from binary to source build, Edk2 = BaseTools C source is still compiled to BaseTools\Bin\Win32 directory. Beca= use BaseTools\Bin\Win32 is set into system PATH env, there is no requiremen= t to add their wrapper scripts in BaseTools/BinWrappers/WindowsLike directo= ry. >=20 Liming, Thanks for the answer, I was guessing it was related to the history differ= ence with the tools.=20 I ran some experiments years ago and calling the C function through the ba= sh script seemed to take up 5% of the build time. Would it make sense to us= e a path for Unix builds too vs. the wrappers?=20 Thanks, Andrew Fish > Thanks > Liming >> -----Original Message----- >> From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of A= ndrew Fish via Groups.Io >> Sent: Saturday, August 17, 2019 1:01 AM >> To: devel@edk2.groups.io >> Subject: [edk2-devel] BaseTools/BinWrappers question? >>=20 >> Why does BaseTools/BinWrappers/WindowsLike only have wrappers for Pytho= n commands, while BaseTools/BinWrappers/PosixLike has >> wrappers for C based tools too? >>=20 >> Thanks, >>=20 >> Andrew Fish >>=20 >=20 >=20 >=20 >=20