[Lldb-commits] [PATCH] D55230: [lit] Multiple build outputs and default target bitness

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 3 12:06:53 PST 2018


zturner created this revision.
zturner added reviewers: labath, stella.stamenova, aleksandr.urakov.
Herald added a subscriber: mgorny.

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.


https://reviews.llvm.org/D55230

Files:
  lldb/lit/BuildScript/modes.test
  lldb/lit/BuildScript/script-args.test
  lldb/lit/BuildScript/toolchain-clang-cl.test
  lldb/lit/BuildScript/toolchain-msvc.test
  lldb/lit/CMakeLists.txt
  lldb/lit/helper/build.py
  lldb/lit/helper/toolchain.py
  lldb/lit/lit.site.cfg.py.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55230.176447.patch
Type: text/x-patch
Size: 19750 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181203/6c8aae48/attachment-0001.bin>


More information about the lldb-commits mailing list