From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id DDB1321AE3CA8 for ; Tue, 30 May 2017 21:56:11 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 May 2017 21:57:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,422,1491289200"; d="scan'208";a="863003631" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 30 May 2017 21:57:11 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 30 May 2017 21:57:11 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 30 May 2017 21:57:11 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.146]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.116]) with mapi id 14.03.0319.002; Wed, 31 May 2017 12:57:09 +0800 From: "Gao, Liming" To: "edk2-devel@lists.01.org" CC: "Kinney, Michael D" Thread-Topic: [edk2][edk2-staging/BaseToolsOpt]: Add new branch BaseToolsOpt Thread-Index: AdLZxweQX45tSKtYSJik5Tn6TkD7Uw== Date: Wed, 31 May 2017 04:57:09 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D742AB6@shsmsx102.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: [edk2-staging/BaseToolsOpt]: Add new branch BaseToolsOpt X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2017 04:56:12 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi All, I would like to add new branch BaseToolsOpt in edk2-staging for BaseTools= build performance optimization. Here is its Readme.MD. Please help review. Readme.MD: This branch is used to optimize BaseTools build performance. It bases on ed= k2 repo UDK2017 branch. The branch owner: Gao, Liming Zhu, Yonghong ## Feature Introduction BaseTools supports more and more features. They will take more build time. = To reduce build overhead, some points have been=20 identified to be optimized. POC code will be added in this branch for evalu= ation. 1) Enable the multiple thread in GenFds phase. 2) Support to merge multiple drivers into one. It should save the link time= . But, it doesn't save much in the multiple build.=20 Besides, this feature can save the image size when the image is not comp= ressed, such as PEI images. 3) Reduce the extra copy actions in build process. 4) Analyze cProfile data and enhance the parser logic. https://bugzilla.tia= nocore.org/show_bug.cgi?id=3D42 ## Timeline Target for 2017 Q3 ### NOTES Most changes in this branch are BaseTools. To apply them, user needs to run= BaseTools=20 from sources. In Linux, BaseTools run from source. In Windows, BaseTools ca= n run from source. And, Reconfig option is also=20 required to apply new config settings in BaseTools\Conf. The step is like b= elow: 1. enter into edk2 2. set PYTHON_HOME=3DC:\Python27 3. type edksetup.bat --nt32 Reconfig 4. nmake -f BaseTools\Makefile 5. type build command to build platform. Thanks Liming