From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mx.groups.io with SMTP id smtpd.web11.13902.1672385067609746965 for ; Thu, 29 Dec 2022 23:24:27 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm3 header.b=R5wisS8j; spf=pass (domain: bsdio.com, ip: 64.147.123.21, mailfrom: rebecca@bsdio.com) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 85C5632000F9; Fri, 30 Dec 2022 02:24:24 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 30 Dec 2022 02:24:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1672385064; x=1672471464; bh=SVCbWbSSy1 jdS8PM45Mvnv57aRAGrWiisuG+ruMOJIU=; b=R5wisS8jF+ToCpogAuXxPFDKf/ hN8yy0WWfkNG7l2ygSHa7MuUbpiUGWaXt60CjQ8xyzbLsBbhxP3FizNPfC+uIe4E c00g1Bycl4LPfL0Jyim1LOMJUKbFM0ttcLcgBSYeJZicPqutqd07iZVu1iAMv+Dh x6XF0zmKDjOt6ijKagCjBSK+9LvZrXpe74A61tODEFJeWeSlTdRG0rKv2dmGWIty haWsyPrXe1S4x4B7O5LjW/eNv0x0nwtmfHMmyWdE1icLR31sbV373hWEVf0M4PYo t2c1feQ147mzG1yhjJEIWA29NjbQ8g7gTt6nQlZSf53DtpT3K3AbQ2tZKAaA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1672385064; x=1672471464; bh=SVCbWbSSy1jdS8PM45Mvnv57aRAG rWiisuG+ruMOJIU=; b=N+FYdjeC/dlhGf5XAP0kAT+BXspHJu7V1HVL6Gcs/TMJ kRZAXtXuNor7TDgt7v+D6MCHkduane3ofPMAi+9PINHp2BbLa1kEy6fXmq8n09ab rVaSBAJhc1yfmuwjFn3gz/EEYiJxDQo+qz21G/ifU3UDY5eRKa9mMxCTcNvuwzJT 7c+Iuq0Nnn/H1Js06OiiLFz4jtuo3HBsnijCRxkluwcNuk0pX+1UtNWygMn0WEWq sgVDvtOTVoQOajP6wgXoIlDpWeaJbayp7yVu5slTiNt2n06sSM1JHv9BtPZbXVBV CRUAWe0+BudFq8Mb+Az93BI5sT9Sk0eipH2AQA/98w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieehgddutdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptgfkffggfgfuvfhfhfgjsegrtderredtfeejnecuhfhrohhmpeftvggsvggt tggrucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrghtth gvrhhnpedthfdvgeehlefhhedufffgkeegkedvffffgeefteeuheeuudeuiedvjeelhfdt ueenucffohhmrghinhepghhithhhuhgsrdgtohhmpdgvughkvdhtohholhhssghuihhlug drphihpdhtihgrnhhotghorhgvrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomheprhgvsggvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 30 Dec 2022 02:24:22 -0500 (EST) Message-ID: <7ee92398-4004-9fbf-ce2f-046bc5b92edd@bsdio.com> Date: Fri, 30 Dec 2022 00:24:21 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [edk2-devel] edk2-wiki: "How to build with Stuart" - suggested changes/additions To: Sean Brogan , "devel@edk2.groups.io" , "michael.d.kinney@intel.com" , "Kubacki, Michael" References: <1733CB594E21CFEA.12545@groups.io> <443f9145-570b-8f42-dadd-4e82ab1f4361@bsdio.com> From: "Rebecca Cran" In-Reply-To: Content-Type: multipart/alternative; boundary="------------gp0ssTbp7ZnKDyKyBLIomc22" Content-Language: en-US --------------gp0ssTbp7ZnKDyKyBLIomc22 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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. > > > > > > > > > > > --------------gp0ssTbp7ZnKDyKyBLIomc22 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
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   


Thanks
Sean 



From: devel@edk2.groups.io <devel@edk2.groups.io> on behalf of Michael D Kinney <michael.d.kinney@intel.com>
Sent: Thursday, December 29, 2022 9:22 AM
To: devel@edk2.groups.io <devel@edk2.groups.io>; rebecca@bsdio.com <rebecca@bsdio.com>; Kubacki, Michael <michael.kubacki@microsoft.com>
Cc: Kinney, Michael D <michael.d.kinney@intel.com>
Subject: Re: [edk2-devel] edk2-wiki: "How to build with Stuart" - suggested changes/additions
 
+Michael Kubacki

> -----Original Message-----
> From: Rebecca Cran <rebecca@bsdio.com>
> Sent: Wednesday, December 28, 2022 7:47 PM
> To: Kinney, Michael D <michael.d.kinney@intel.com>; 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.
> >
> >





--------------gp0ssTbp7ZnKDyKyBLIomc22--