Replies: 5 comments 14 replies
-
One issue for me is having to pass the toolchain using Errors aren't always propagated:
Also, when using Edk2ToolsBuild.py, if I remove the brotli submodule code:
Looking in BaseTools/BaseToolsBuild/BASETOOLS_BUILD.txt there are no ERROR lines, even at:
|
Beta Was this translation helpful? Give feedback.
-
@makubacki I was wondering if you could take a look at my stuart_pr_eval failure at tianocore/edk2-pytool-extensions#550 ? I don't know why it's not working. |
Beta Was this translation helpful? Give feedback.
-
A wish of mine would be an "offline" mode, where it does not download the toolchain (gcc, nasm, etc) but uses the tools it can find in I started looking into this a while back but then got distracted.
I get that .NET is convenient in come cases and it is easily available on most Linux environments, but it is a large dependency compared to what it is used for in the end (downloading dependencies via nuget, I think? Or does it do other things too?). It adds quite some size to the container images that we use in the (Linux) CI. |
Beta Was this translation helpful? Give feedback.
-
As requested from @mdkinney, We've added some stuart CLI usability improvements and will leave them open for a few days for anyone to leave comments. Review each PR to see the changes, but overall they do the following:
tianocore/edk2-pytool-extensions#753 |
Beta Was this translation helpful? Give feedback.
-
Was there any update on moving edk2 away from NuGet based dependencies? I agree with @osteffenrh that it seems .NET (e.g. on Linux I don't know if there's been any thought to adding GitHub releases as a supported dependency type in https://github.com/tianocore/edk2-pytool-extensions/tree/master/edk2toolext/environment/extdeptypes ? These can be arbitrarily named releases, containing arbitrarily named zip files (not necessarily builds of source in the associated repo) which I believe is about the right amount of structure to conveniently replace the way nasm, iasl and so on are currently downloaded from NuGet. I've seen other projects use this as a place to store versions of dependencies. EDIT 1: I guess GitHub release files can be fetched already, with the existing web dependency type (haven't yet tested, but it looks like it should be fine), but perhaps it still might be convenient to make explicit the support for named files within named releases in GitHub releases, with a new dependency type, rather then just folding this into a URL? EDIT 2: A release can be from an arbitrarily named tag on a repo, I think it must contain the (auto-generated) zip of the repo source at that tag, but can have any other arbitrary added zip files - I'm suggesting naming the release in the former way, then adding the iasl, masm, etc. zip files in the latter way - probably from a repo without much source, perhaps just a README, for this purpose. This is a very rough-and-ready demo of the idea: https://github.com/mikebeaton/edk2_ci/releases/tag/edk2-release-test-v0.1 |
Beta Was this translation helpful? Give feedback.
-
A tool called Stuart is integrated with edk2 to help provide a consistent build and dependency management interface across different user environments.
Quick references:
Feedback has been received on numerous occasions that Stuart:
and so on...
This discussion was created to gather constructive feedback that can be channeled into actionable improvements. The tool aspires to provide a Python-based build environment that can accommodate common developer flows in the edk2 project, and this feedback will hopefully help bring it closer to achieving that.
I understand it can be frustrating to use something that may have fallen short of expectations. However, please try to keep feedback constructive, concise, and respectful.
Beta Was this translation helpful? Give feedback.
All reactions