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.web10.67006.1672760564989434918 for ; Tue, 03 Jan 2023 07:42:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=siDgcnYv; 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 F0ED320B92A6; Tue, 3 Jan 2023 07:42:43 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com F0ED320B92A6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1672760564; bh=gzKZGBl78Qmd1E4SMCyZ+hOvaTmKaPYl6eKXEekelOU=; h=Date:Subject:To:References:From:In-Reply-To:From; b=siDgcnYvsoo5yNw3ed3Z+BKvZY29j8O3JK/8zEb7R3N/EgkkaTStaX8b+fXVu+ejU h0xgkzrGFLk8wtmTuH+LfiD0xCZCGVDbLav3GrTf2uMvETmKZz7x952zn8I/DP0wH/ oYQ0y5SkbrhhRIreqf9PyvDvQDZh2tpm4N9gHziU= Message-ID: Date: Tue, 3 Jan 2023 10:42:42 -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, michael.d.kinney@intel.com, "rebecca@bsdio.com" , "Kubacki, Michael" References: <0f82d263-384a-8d4d-ff37-8c1f469f359a@bsdio.com> From: "Michael Kubacki" In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On Behalf Of Rebecca Cran >> Sent: Saturday, December 24, 2022 9:38 AM >> To: Kinney, Michael D ; 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 >> >> >> >> >> > > > > > >