From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 4EF7E8214B for ; Tue, 21 Feb 2017 23:35:24 -0800 (PST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP; 21 Feb 2017 23:35:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,193,1484035200"; d="scan'208";a="68720178" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga006.fm.intel.com with ESMTP; 21 Feb 2017 23:35:23 -0800 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 21 Feb 2017 23:35:23 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 21 Feb 2017 23:35:23 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX104.ccr.corp.intel.com ([10.239.4.70]) with mapi id 14.03.0248.002; Wed, 22 Feb 2017 15:35:21 +0800 From: "Gao, Liming" To: Rebecca Cran , "edk2-devel@lists.01.org" CC: "Lu, ShifeiX A" , "Zimmer, Vincent" , "Wei, David" , Andrew Fish Thread-Topic: [edk2] Improvements to build system etc. for edk2-platforms devel-MinnowBoard3? Thread-Index: AQHSjKnlxGsuUmtw5EeKKzMzbjhAK6F0dLhw//+KX4CAAKJmIA== Date: Wed, 22 Feb 2017 07:35:20 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6E2AD2@shsmsx102.ccr.corp.intel.com> References: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6E27B3@shsmsx102.ccr.corp.intel.com> <95a8d930-6bb2-e666-1957-8d78a25efd10@bluestop.org> In-Reply-To: <95a8d930-6bb2-e666-1957-8d78a25efd10@bluestop.org> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: Improvements to build system etc. for edk2-platforms devel-MinnowBoard3? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 07:35:24 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Rebecca: Yes. It is good to enable multiple thread and update ReadMe.MD. On .cmd/.= bat vs python, .cmd/.bat doesn't require to install Python in windows OS. e= dksetup.bat is just a case.=20 Thanks Liming >-----Original Message----- >From: Rebecca Cran [mailto:rebecca@bluestop.org] >Sent: Wednesday, February 22, 2017 1:48 PM >To: Gao, Liming ; edk2-devel@lists.01.org >Cc: Lu, ShifeiX A ; Zimmer, Vincent >; Wei, David ; Andrew >Fish ; Gao, Liming >Subject: Re: [edk2] Improvements to build system etc. for edk2-platforms >devel-MinnowBoard3? > >On 2/21/2017 9:50 PM, Gao, Liming wrote: > >> Could you introduce what change will be done for build improvement? I >am also interested in this topic. > >The first change I'd make is to set 'buildthreads' in BuildBIOS to >%NUMBER_OF_PROCESSORS% - that by itself reduces the build time from >around 7 minutes to 2.5 on my system. I also have some changes to the >ReadMe.MD file to convert it to be a MD file instead of plain text, >which massively increases readability on GitHub. I've also been >wondering about allowing more parameters to be passed through to 'build' >such as reducing the verbosity to make compiler warnings more apparent. >Finally, and this is likely more controversial - I've been wondering if >the build scripts like BuildBIOS should be in python instead of Windows >.cmd/.bat since python is already used elsewhere and is more flexible. > >-- >Rebecca