This patch introduces two improvements to the build.py script.
First, it supports multiple build inputs and outputs. This is helpful if you want to run with mode=compile but you want to compile many source files at once. Now, you can specify an output directory and it will write all of them to that location.
Second, it changes the default architecture of test executables to be whatever the system is.
Both of these will help with porting DIA PDB tests over to the new build script, but are also generally useful features that most tests will probably want anyway.