From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from muon.cran.org.uk (muon.bluestop.org [IPv6:2605:7700:0:8:1:0:4a32:3323]) (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 9918C8222E for ; Tue, 21 Feb 2017 21:48:19 -0800 (PST) Received: from muon.bluestop.org (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 3776A33593; Wed, 22 Feb 2017 05:48:18 +0000 (UTC) Received: from muon.cran.org.uk ([127.0.0.1]) by muon.bluestop.org (muon.bluestop.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 7knZthkx4U_Z; Wed, 22 Feb 2017 05:48:17 +0000 (UTC) Received: from [192.168.1.28] (c-73-20-20-155.hsd1.ut.comcast.net [73.20.20.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Wed, 22 Feb 2017 05:48:17 +0000 (UTC) To: "Gao, Liming" , "edk2-devel@lists.01.org" References: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6E27B3@shsmsx102.ccr.corp.intel.com> Cc: "Lu, ShifeiX A" , "Zimmer, Vincent" , "Wei, David" , Andrew Fish , "Gao, Liming" From: Rebecca Cran Message-ID: <95a8d930-6bb2-e666-1957-8d78a25efd10@bluestop.org> Date: Tue, 21 Feb 2017 22:48:17 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6E27B3@shsmsx102.ccr.corp.intel.com> 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 05:48:19 -0000 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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