[edk2-devel] Official way to build BaseTools - Edk2ToolsBuild.py?

Rebecca Cran rebecca at bsdio.com
Wed May 20 03:23:06 UTC 2020


I'm wondering if using BaseTools/Edk2ToolsBuild.py will become the 
official/standard way users are expected to build BaseTools? If so, 
there are a few problems that I'd like to see fixed, which I'll see if I 
can find some time to work on.


For example: on Linux, running it without arguments gives "ValueError: 
Bad VC" - because it defaults to the VS2017 toolchain.

If you break something in BaseTools and so it fails to build, it prints 
"Exception: Failed to build." with no further details.


I'd like to improve it so it detects being run on a non-Windows platform 
and tries to use GCC, Clang etc. - and perhaps also to add a '--verbose' 
argument that can be used to give a more specific error message when it 
fails.


-- 
Rebecca Cran



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#59919): https://edk2.groups.io/g/devel/message/59919
Mute This Topic: https://groups.io/mt/74342317/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list