From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web11.65664.1672758757553294959 for ; Tue, 03 Jan 2023 07:12:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=KiJeTy8h; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from [192.168.4.22] (unknown [47.201.8.94]) by linux.microsoft.com (Postfix) with ESMTPSA id 772F120B92A6; Tue, 3 Jan 2023 07:12:36 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 772F120B92A6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1672758757; bh=dKhr4Fr1AVTT5Pvl0iNDkVZTu6jobKqPNSUbm41Ykus=; h=Date:Subject:To:References:From:In-Reply-To:From; b=KiJeTy8hLw3gJYNTRHI6l5nNFnb0XXjebV52vi4dWXoO5AR+SuSlQ5hHtB5Kk3JHi ZoOOoLIbc47cL/X91Uma2LnhJsjIMIio39M5sAnGEl2go43jSBWEOArqHBPIGO7l4A rKolXVEfCHpnGXlvzE8+wc0DnlTIeTp1bSifnp4U= Message-ID: <6392418d-a1a8-9f49-5f43-9c1aa107d68e@linux.microsoft.com> Date: Tue, 3 Jan 2023 10:12:34 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [edk2-devel] edk2-wiki: "How to build with Stuart" - suggested changes/additions To: devel@edk2.groups.io, rebecca@bsdio.com, Sean Brogan , "michael.d.kinney@intel.com" , "Kubacki, Michael" References: <1733CB594E21CFEA.12545@groups.io> <443f9145-570b-8f42-dadd-4e82ab1f4361@bsdio.com> <7ee92398-4004-9fbf-ce2f-046bc5b92edd@bsdio.com> From: "Michael Kubacki" In-Reply-To: <7ee92398-4004-9fbf-ce2f-046bc5b92edd@bsdio.com> Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit The instructions to build base tools with Edk2ToolsBuild.py are in "Example: I want to build BaseTools." on the page. On 12/30/2022 2:24 AM, Rebecca Cran wrote: > Thanks! That was the step I was missing - I was still running edksetup.bat instead of Edk2ToolsBuild.py. > > -- > > Rebecca Cran > > On 12/30/22 00:07, Sean Brogan wrote: >> Rebecca, >> >> I don't see detailed instructions for how to build the base tools in >> the new wiki pages. But if you use the python /pytool method then a >> path file is generated and Stuart will set the path correctly. >> >> This file should be used to build the base tools >> https://github.com/tianocore/edk2/blob/master/BaseTools/Edk2ToolsBuild.py >> >> You can read a little more about the feature here. >> https://www.tianocore.org/edk2-pytool-extensions/features/sde/#path_env-descriptors >> >> Thanks >> Sean >> >> >> ------------------------------------------------------------------------ >> *From:* devel@edk2.groups.io on behalf of >> Michael D Kinney >> *Sent:* Thursday, December 29, 2022 9:22 AM >> *To:* devel@edk2.groups.io ; rebecca@bsdio.com >> ; Kubacki, Michael >> *Cc:* Kinney, Michael D >> *Subject:* Re: [edk2-devel] edk2-wiki: "How to build with Stuart" - >> suggested changes/additions >> +Michael Kubacki >> >> > -----Original Message----- >> > From: Rebecca Cran >> > Sent: Wednesday, December 28, 2022 7:47 PM >> > To: Kinney, Michael D ; devel@edk2.groups.io >> > Subject: Re: [edk2-devel] edk2-wiki: "How to build with Stuart" - >> suggested changes/additions >> > >> > I also found a problem on Windows. It seems that BaseTools\Bin\Win32 >> > isn't added to %PATH% unless you run edksetup.bat - or, if you're using >> > PowerShell, you can run: >> > >> > >> > $Env:PATH = >> > "$pwd\BaseTools\Bin\Win32$([System.IO.Path]::PathSeparator)$Env:PATH" >> > >> > >> > -- >> > Rebecca Cran >> > >> > >> > On 12/24/22 10:37, Rebecca Cran wrote: >> > > Mike, >> > > >> > > >> > > I tried following the "How to build with Stuart" document and ran into >> > > a some issues on my Ubuntu 20.04 system: >> > > >> > > >> > > First, we now need to use "python3.9" on Ubuntu 20.04 since "python3" >> > > is 3.8 which no longer works. >> > > >> > > >> > > Secondly, the loongarch64 gcc download is 930MB - 3.2GB once unpacked. >> > > We might want to add something about specifying "-a LOONGARCH64" etc. >> > > if you want to build it, or '-a X64,AARCH64' etc. if you want to skip >> > > it. I ended up canceling "stuart_update" because I thought it had >> hung. >> > > >> > > >> > > Lastly, the "stuart_update" command listed doesn't work: it seems you >> > > need to specify a TOOL_CHAIN_TAG to have it download anything. >> > > >> > > >> >> >> >> >> >