From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.92.40.78]) by mx.groups.io with SMTP id smtpd.web10.13695.1672384052347510630 for ; Thu, 29 Dec 2022 23:07:32 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@outlook.com header.s=selector1 header.b=sw3xWx1B; spf=pass (domain: outlook.com, ip: 40.92.40.78, mailfrom: spbrogan@outlook.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IfW+ao6f+JSrCcmNEIZ7lMFS1XkIud8POHQcgwHkEczDiN+2V6PohtPYy0LjVYJQbntzgo1WcoopaFRPB/foBdZkfwluQguzIki2z1UdlnjLvDyeoT5a10NaU9vnIiPZ71bxIPEhc2IRusLPdWPShzclYXi1vYkMqwD4pmXj6VbaCVVqlHhFu/MIl1An+6eD1eNTD4TcSHjQJmzlbQUXxtcIPwduUr6PYqNLAZK9D5HDB8SgIU5hcfp5fnEXwAldpDTz1h8toEGdno7BrhqnmT6l4uvE98RshKDdhkMdCtHDy/exWOvQrnkXjkhE02bKXOh0QD/aNXCx2TdQPwJpHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=C/zkLQmesJ9Tovl7d1i+NqLdkxiIRRH3qHJnd+0AscY=; b=QBlIj8gDIWIAfQrMbo5B1JurejfPwZ79Y0ADDOwhtvUqpYTXwWXxpX6gyuM6K8kT7TLZk/qCdlHppCP//DUj+WGKUZU+PKF0LVVq1yAH5/pb0AeKnYE+LD84UC8bPp/aasEKlLdG+SjVJaKzAQJUF8O3d9qAKEoeKbub01nwjJqYuxYS4zrHpv//X7AjxzU+MIABz1JGYNwoIXLreXJYryp/L/SKDqbdIP8PMhSovnQtEqYOHnCLFMFIi/0vJqDhNN5VQP2IOy9P9QT/pZmqIoKNmNFI1RpToNESsmn4Xdlcj4Wkfvr7sudTi8pKVUxDrourtdxCsGEb9rzagOJFuA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=C/zkLQmesJ9Tovl7d1i+NqLdkxiIRRH3qHJnd+0AscY=; b=sw3xWx1Bu/pnI1WzD8OdL2/aVEjJhq+dHwuN2q+JCAS5a/CzaZhd8ut1z3WkssQt0BvTCqkMuvVGSf8rMjxpejt3a00TEZTRzvOlUhmLaNwiU/wfuJk28FtDfinXhK6G+GrnpRT7pL2yZMIcXL2zHydX7RBgPLxO+ckY6ZCWzJKEwjS8lWk7cKscQpIRRqtzgGCEQ59OySzbt6d7qpBtXj8C4aPDgZAL67o1njY8BdD853s9VZ8gS42H0rNZCG1vS/OTuSId9ej44lHEudP9yRY8590o495PfAjbcOxu49kEpfeY8H4jyLjZki6N8ttcweBhY76y/Rx5W2qvvRa5ew== Received: from BY3PR19MB4900.namprd19.prod.outlook.com (2603:10b6:a03:354::11) by CY5PR19MB6411.namprd19.prod.outlook.com (2603:10b6:930:20::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.16; Fri, 30 Dec 2022 07:07:30 +0000 Received: from BY3PR19MB4900.namprd19.prod.outlook.com ([fe80::f0ca:8c78:75fb:f44f]) by BY3PR19MB4900.namprd19.prod.outlook.com ([fe80::f0ca:8c78:75fb:f44f%3]) with mapi id 15.20.5944.018; Fri, 30 Dec 2022 07:07:30 +0000 From: "Sean" To: "devel@edk2.groups.io" , "michael.d.kinney@intel.com" , "rebecca@bsdio.com" , "Kubacki, Michael" CC: "Kinney, Michael D" Subject: Re: [edk2-devel] edk2-wiki: "How to build with Stuart" - suggested changes/additions Thread-Topic: [edk2-devel] edk2-wiki: "How to build with Stuart" - suggested changes/additions Thread-Index: AQHZGzhJ2BxVEZr1UE2KFwJ5csl5C66FHdsAgADhv8c= Date: Fri, 30 Dec 2022 07:07:30 +0000 Message-ID: References: <1733CB594E21CFEA.12545@groups.io> <443f9145-570b-8f42-dadd-4e82ab1f4361@bsdio.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-tmn: [MPfmhzkez6QehCpF/mDJm8fjTAmRtgv2] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY3PR19MB4900:EE_|CY5PR19MB6411:EE_ x-ms-office365-filtering-correlation-id: 89cd7eb2-7eb8-4b24-052b-08daea348423 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8UNycGpZ0BXKAyH8aJfQ+6gz+Eyg6fPQIdM3BBwY589BimHbqbYjiUyQ+UUNJEolwc1kYWjd+68L2AGaX8aXAjlM3NIB1GEBKIHk0N2MpllGUThehc9yQRpeTJBOL1PDd7Bc1tV+DDQx7iAeU7o8XKO3rDKGKNA1AuZUaicH2HLM5aXHPkit87xLWttGQJsBBqGajYW5nSzK6InngWxxUA2YzqeSTs+5jaNHt/NqLZcYyAe9DGSD8iOq1g7JVqjs/Kg797rytKVbK77hgFcDA939+7Vq+N5ylO06ypVe1ucXPFYb5aJ+k4Uh8/IlRuGgh7pMoy4h8maYWdtW0gKTfZcnJnetLMLcNPqm+K7xsDaT7Op4zPWY/l7AW3YdzUpeETOcM9qANr8yoOHA0BYeYyow8eUFkZdPKLBwtkHv17N3NuDOuh7blik7kEVizop4hgyEM5bEOMKdkTvnoZjOGw+t2eNCWtktqUUQkLTKWf8asJBdaatD2fnITRtVaCzTdTFZyDeDM9DXWNiX1WcsZ8TkODE9ImHN7FUfFPUYUCuz2ZLxP8RWV2F+5uUlMFXnhmjZ8FqfYcc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kvEyBmJcthhXQoqHx?= =?us-ascii?Q?RsPwUdEir3u4ubhC7+GQ/x//IV9mwvaw9rusBY8Bxl3mDo+wXSoo3Kt8MBfx?= =?us-ascii?Q?te+x/qvHxjRRUJlCVR6yj6rueADROJrK5z2ffv8EoSjqTb1PhmPWpi9oZdCK?= =?us-ascii?Q?07Xe0rj3Tea7jDuhJweVbIKQQYi/FLsgUwdajv+zLh3ueq7YgL0w3xpRmjaw?= =?us-ascii?Q?AHm6bgOUOSQ/8ClGxeB9Wq3NjCH001SRyqqsMPhoADtFvIKQ+za10hiyiR6G?= =?us-ascii?Q?r5pz0wdpzSEBGhr+/hDLDZOqHFgdk4pY4N/Utp8nL9sRhQhkdPoZKIn/0n7D?= =?us-ascii?Q?aQbICQeNBd3tP2ulxC3UfOar1vEi1ZGnE5pLtgg34Bur4DRa56rPfjY+cOxq?= =?us-ascii?Q?VstdyGvjzHdNFyGIlrlkjXzJAlBzA34W9eiF2yRz/mbzIUevYxQzSBnR2LRO?= =?us-ascii?Q?uKrmV13WP0ZnVfvi1Y4SsDoVfII+u+9aGMJmgi8ml8pelAmgUsBSUW+SvVFd?= =?us-ascii?Q?kx0AVYdGH2cplC0TFLjgVLfx8L4DERplntyBesrbblpMyWNep1k01e7jY9m4?= =?us-ascii?Q?6RnejIr0znI8VXh9Zhe/6JAEqPMluKtR4sajFKuCdg=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY3PR19MB4900.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 89cd7eb2-7eb8-4b24-052b-08daea348423 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Dec 2022 07:07:30.2120 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR19MB6411 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_BY3PR19MB490003CF42AC581334B737C6C8F09BY3PR19MB4900namp_" --_000_BY3PR19MB490003CF42AC581334B737C6C8F09BY3PR19MB4900namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Rebecca, I don't see detailed instructions for how to build the base tools in the ne= w 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.or= g/edk2-pytool-extensions/features/sde/#path_env-descriptors Thanks Sean ________________________________ From: devel@edk2.groups.io on behalf of Michael D Ki= nney 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" - suggest= ed 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 =3D > "$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. > > > > --_000_BY3PR19MB490003CF42AC581334B737C6C8F09BY3PR19MB4900namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Rebecca, 

I don't see detailed instructions for how to build the bas= e tools in the new wiki pages. But if you use the python /pytool method the= n a path file is generated and Stuart will set the path correctly. 

This file should be used to build the base tools  &nb= sp;

You can read a little more about the feature here. https://www.tianocore.org/ed= k2-pytool-extensions/features/sde/#path_env-descriptors

Thanks
Sean 



From: devel@edk2.groups.io <devel@edk2.groups.io> on behalf of M= ichael 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@micros= oft.com>
Cc: Kinney, Michael D <michael.d.kinney@intel.com>
Subject: Re: [edk2-devel] edk2-wiki: "How to build with Stuart&= quot; - 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.g= roups.io
> Subject: Re: [edk2-devel] edk2-wiki: "How to build with Stuart&qu= ot; - 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 usin= g
> PowerShell, you can run:
>
>
> $Env:PATH =3D
> "$pwd\BaseTools\Bin\Win32$([System.IO.Path]::PathSeparator)$Env:P= ATH"
>
>
> --
> Rebecca Cran
>
>
> On 12/24/22 10:37, Rebecca Cran wrote:
> > Mike,
> >
> >
> > I tried following the "How to build with Stuart" docume= nt and ran into
> > a some issues on my Ubuntu 20.04 system:
> >
> >
> > First, we now need to use "python3.9" on Ubuntu 20.04 s= ince "python3"
> > is 3.8 which no longer works.
> >
> >
> > Secondly, the loongarch64 gcc download is 930MB - 3.2GB once unpa= cked.
> > We might want to add something about specifying "-a LOONGARC= H64" 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 thou= ght 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. > >
> >





--_000_BY3PR19MB490003CF42AC581334B737C6C8F09BY3PR19MB4900namp_--