From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: liming.gao@intel.com) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by groups.io with SMTP; Tue, 20 Aug 2019 23:47:40 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Aug 2019 23:47:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,411,1559545200"; d="scan'208,217";a="207629961" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga002.fm.intel.com with ESMTP; 20 Aug 2019 23:47:39 -0700 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 20 Aug 2019 23:47:39 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 20 Aug 2019 23:47:38 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.112]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.62]) with mapi id 14.03.0439.000; Wed, 21 Aug 2019 14:47:36 +0800 From: "Liming Gao" To: "devel@edk2.groups.io" , "tigerliu@zhaoxin.com" Subject: Re: [edk2-devel] [edk2] If use prebuild tools, not need install python 2.7 anymore? Thread-Topic: [edk2-devel] [edk2] If use prebuild tools, not need install python 2.7 anymore? Thread-Index: AdVWa+WBZlSRS/YSTAyR+Y1YjRrUfwAMIEUQAB2QU9AANiIt0A== Date: Wed, 21 Aug 2019 06:47:36 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4D9307@SHSMSX104.ccr.corp.intel.com> References: <5842cee4141c46c48a993cca2a17d7ed@zhaoxin.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E4D3900@SHSMSX104.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: liming.gao@intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_4A89E2EF3DFEDB4C8BFDE51014F606A14E4D9307SHSMSX104ccrcor_" --_000_4A89E2EF3DFEDB4C8BFDE51014F606A14E4D9307SHSMSX104ccrcor_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 VGlnZXI6DQoNCg0KRnJvbTogZGV2ZWxAZWRrMi5ncm91cHMuaW8gW21haWx0bzpkZXZlbEBlZGsy Lmdyb3Vwcy5pb10gT24gQmVoYWxmIE9mIFRpZ2VyIExpdShCSi1SRCkNClNlbnQ6IFR1ZXNkYXks IEF1Z3VzdCAyMCwgMjAxOSAxOjAxIFBNDQpUbzogZGV2ZWxAZWRrMi5ncm91cHMuaW87IEdhbywg TGltaW5nIDxsaW1pbmcuZ2FvQGludGVsLmNvbT4NClN1YmplY3Q6ILTwuLQ6IFtlZGsyLWRldmVs XSBbZWRrMl0gSWYgdXNlIHByZWJ1aWxkIHRvb2xzLCBub3QgbmVlZCBpbnN0YWxsIHB5dGhvbiAy LjcgYW55bW9yZT8NCg0KSGksIExpbWluZzoNCkJhc2VkIG9uIHRoZSBiZWxvdyB3ZWIgaW5mbzoN Cmh0dHBzOi8vZ2l0aHViLmNvbS90aWFub2NvcmUvdGlhbm9jb3JlLmdpdGh1Yi5pby93aWtpL0Vk azItYnVpbGR0b29scw0KW0xpbWluZ10gVGhpcyBwYWdlIGlzIG91dCBvZiBkYXRlLiBidWlsZHRv b2xzLUJhc2VUb29scyBpcyBERVBSRUNBVEVELiBVc2UgQmFzZVRvb2xzIHVuZGVyIEVESyBJSSBp bnN0ZWFkLg0KDQpUaGUgcHl0aG9uIHRvb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aXMgZW1haWwgb3IgdGhlIGNv bnRlbnQgb2YgdGhpcyBlbWFpbCBpcyBzdHJpY3RseSBwcm9oaWJpdGVkLg0KDQqxo8PcyfnD96O6 DQqxvtPKvP66rNPQsaPD3Lvy16jT0NDFz6KjrL32uanWuLaoytW8/sjLyrnTw6Gj0c+9+7bUsb7T yrz+u/LG5MTayN3X9sjOus7OtL6tytrIqLXEsunUxKGiyrnTw6GiuLTWxrvy16q3oqGjDQpDT05G SURFTlRJQUwgTk9URToNClRoaXMgZW1haWwgY29udGFpbnMgY29uZmlkZW50aWFsIG9yIGxlZ2Fs bHkgcHJpdmlsZWdlZCBpbmZvcm1hdGlvbiBhbmQgaXMgZm9yIHRoZSBzb2xlIHVzZSBvZiBpdHMg aW50ZW5kZWQgcmVjaXBpZW50LiBBbnkgdW5hdXRob3JpemVkIHJldmlldywgdXNlLCBjb3B5aW5n IG9yIGZvcndhcmRpbmcgb2YgdGhpcyBlbWFpbCBvciB0aGUgY29udGVudCBvZiB0aGlzIGVtYWls IGlzIHN0cmljdGx5IHByb2hpYml0ZWQuDQoNCg== --_000_4A89E2EF3DFEDB4C8BFDE51014F606A14E4D9307SHSMSX104ccrcor_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

Tiger:

 

 

From:<= /span> devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Tiger Liu(BJ-RD)
Sent: Tuesday, August 20, 2019 1:01 PM
To: devel@edk2.groups.io; Gao, Liming <liming.gao@intel.com><= br> Subject:
=B4=F0=B8=B4: [edk2-devel] [edk2] If use preb= uild tools, not need install python 2.7 anymore?

 = ;

Hi, Liming:<= /span>

Based on the below web = info:

https://github.com/tianocore/tianocore.githu= b.io/wiki/Edk2-buildtools

[Liming] This page is= out of date. buildtools-BaseTools is DEPRECATED. Use BaseTools under EDK I= I instead.

 

The python tools are us= ed to compile the building tools written by python.

 

https://github.com/tianocore/tianocore= .github.io/wiki/BuildTool-Setup-Guide

in the above web, it said:

=A1=B0The tools in this section are NOT required to b= uild the EDK II project; they are needed to compile the BaseTools used to b= uild the EDK II project.=A1=B1

[Liming] Thanks for y= our point. I will update this wiki page.

 

If I used the Prebui= lt Windows tools (Win32 binaries), then I don=A1=AFt need install python pa= ckage anymore?

 

Or, current UDK source code doesn=A1=AFt support preb= uilt tools binary, it always need installing Python to compile python build= tools every time.

[Liming] Now, edk2 re= quires Python3.x for build. This change happened one year ago. Please see https://edk2.grou= ps.io/g/devel/message/29436.

 

Liming

 

Thanks

=B7=A2=BC= = =FE=C8=CB: devel@edk2.groups.io <devel@edk2.groups.io> =B4=FA=B1=ED Liming Gao
=B7=A2=CB=CD=CA=B1=BC=E4: 2019=C4=EA8=D4=C219=C8=D5 22:46
=CA=D5=BC=FE=C8=CB: devel@edk2.groups.io; Tiger Li= u(BJ-RD) <TigerLiu@zhaoxin.com>
=D6=F7=CC=E2: Re: [edk2-devel] [edk2] If use pr= ebuild tools, not need install python 2.7 anymore?

 = ;

Now, edk2 stable tag release is https://github.com/tianocore/tianocore.github.io/wik= i/EDK-II-Release-Planning

 

After edk2-stable201903 tag, edk2 supports Python3. U= ser needs to install Python3.x, doesn=A1=AFt need to set PYTHON path.

 

Thanks

Liming<= /span>

 = ;

Hello,

I have a question about needing install python 2.7<= o:p>

 

If user wants to setup udk compiling environment, h= e needs install python 2.7.

When running build command every time, it always ch= eck python tool path.

Why?

 

If I compiled basetools before, and use the prebuil= t basetools package, then I don=A1=AFt need install python 2.7 package?

 

Thanks

 

&= nbsp;

=B1=A3=C3=DC=C9=F9=C3=F7=A3=BA=

=B1=BE=D3=CA=BC=FE=BA=AC=D3=D0=B1=A3=C3=DC=BB=F2=D7= =A8=D3=D0=D0=C5=CF=A2=A3=AC=BD=F6=B9=A9=D6=B8=B6=A8=CA=D5=BC=FE=C8=CB=CA= =B9=D3=C3=A1=A3=D1=CF=BD=FB=B6=D4=B1=BE=D3=CA=BC=FE=BB=F2=C6=E4=C4=DA=C8= =DD=D7=F6=C8=CE=BA=CE=CE=B4=BE=AD=CA=DA=C8=A8=B5=C4=B2=E9=D4=C4=A1=A2=CA= =B9=D3=C3=A1=A2=B8=B4=D6=C6=BB=F2=D7=AA=B7=A2=A1=A3<= /p>

CONFIDENTIAL NOTE:

This email contains confidential or legally p= rivileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding o= f this email or the content of this email is strictly prohibited.

&= nbsp;

=B1=A3=C3=DC=C9=F9=C3=F7=A3=BA=

=B1=BE=D3=CA=BC=FE=BA=AC=D3=D0=B1=A3=C3=DC=BB=F2=D7= =A8=D3=D0=D0=C5=CF=A2=A3=AC=BD=F6=B9=A9=D6=B8=B6=A8=CA=D5=BC=FE=C8=CB=CA= =B9=D3=C3=A1=A3=D1=CF=BD=FB=B6=D4=B1=BE=D3=CA=BC=FE=BB=F2=C6=E4=C4=DA=C8= =DD=D7=F6=C8=CE=BA=CE=CE=B4=BE=AD=CA=DA=C8=A8=B5=C4=B2=E9=D4=C4=A1=A2=CA= =B9=D3=C3=A1=A2=B8=B4=D6=C6=BB=F2=D7=AA=B7=A2=A1=A3<= /p>

CONFIDENTIAL NOTE:

This email contains confidential or legally p= rivileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding o= f this email or the content of this email is strictly prohibited.

--_000_4A89E2EF3DFEDB4C8BFDE51014F606A14E4D9307SHSMSX104ccrcor_--