* edk2-wiki: "How to build with Stuart" - suggested changes/additions
@ 2022-12-24 17:37 Rebecca Cran
2022-12-29 17:41 ` [edk2-devel] " Michael D Kinney
0 siblings, 1 reply; 3+ messages in thread
From: Rebecca Cran @ 2022-12-24 17:37 UTC (permalink / raw)
To: Michael D Kinney, devel
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.
--
Rebecca Cran
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [edk2-devel] edk2-wiki: "How to build with Stuart" - suggested changes/additions
2022-12-24 17:37 edk2-wiki: "How to build with Stuart" - suggested changes/additions Rebecca Cran
@ 2022-12-29 17:41 ` Michael D Kinney
2023-01-03 15:42 ` Michael Kubacki
0 siblings, 1 reply; 3+ messages in thread
From: Michael D Kinney @ 2022-12-29 17:41 UTC (permalink / raw)
To: devel@edk2.groups.io, rebecca@bsdio.com, Kubacki, Michael,
Kinney, Michael D
Cc: Kinney, Michael D
+ Michael Kubacki
> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Rebecca Cran
> Sent: Saturday, December 24, 2022 9:38 AM
> To: Kinney, Michael D <michael.d.kinney@intel.com>; devel@edk2.groups.io
> Subject: [edk2-devel] edk2-wiki: "How to build with Stuart" - suggested changes/additions
>
> 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.
>
>
> --
> Rebecca Cran
>
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [edk2-devel] edk2-wiki: "How to build with Stuart" - suggested changes/additions
2022-12-29 17:41 ` [edk2-devel] " Michael D Kinney
@ 2023-01-03 15:42 ` Michael Kubacki
0 siblings, 0 replies; 3+ messages in thread
From: Michael Kubacki @ 2023-01-03 15:42 UTC (permalink / raw)
To: devel, michael.d.kinney, rebecca@bsdio.com, Kubacki, Michael
Please feel free to send a wiki patch or directly make updates.
On 12/29/2022 12:41 PM, Michael D Kinney wrote:
> + Michael Kubacki
>
>> -----Original Message-----
>> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Rebecca Cran
>> Sent: Saturday, December 24, 2022 9:38 AM
>> To: Kinney, Michael D <michael.d.kinney@intel.com>; devel@edk2.groups.io
>> Subject: [edk2-devel] edk2-wiki: "How to build with Stuart" - suggested changes/additions
>>
>> 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.
>>
I tried to avoid specifying exact versions where possible as they tend
to get stale quickly. In a case like this, I lean toward pointing to a
single location where we track the Python version supported and then
provide a statement that says to use the python command for that version.
Though I'm fine with other approaches that best help people and can try
to minimize likelihood of misinforming due to staleness over time.
>> 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.
>>
You're right that the instructions do not directly mention the impact of
the certain flags on the update process. I added that just now.
>> Lastly, the "stuart_update" command listed doesn't work: it seems you
>> need to specify a TOOL_CHAIN_TAG to have it download anything.
>>
You need to specify a tool chain tag to have it download tool chain
specific binaries. It will download anything that has a scope set (like
common binaries) irrespective of the tool chain tag. In some cases, the
default tool chain may either download the required binaries or not
require any downloads via stuart_update.
I added more info about the impact of parameters on the command just now.
>>
>> --
>> Rebecca Cran
>>
>>
>>
>>
>>
>
>
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-03 15:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-24 17:37 edk2-wiki: "How to build with Stuart" - suggested changes/additions Rebecca Cran
2022-12-29 17:41 ` [edk2-devel] " Michael D Kinney
2023-01-03 15:42 ` Michael Kubacki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox