You are correct. Using the GUI interface to cmake, on those fields you add just "x86_64" or "i386".
Thanks very much. On Tue, Jan 9, 2018 at 12:55 PM, Pavel Labath <lab...@google.com> wrote: > On 4 January 2018 at 09:00, Carlos Alberto Enciso via Phabricator via > lldb-commits <lldb-commits@lists.llvm.org> wrote: > > CarlosAlbertoEnciso added a comment. > > > > I have some issues running the LLDB Test Suite in 32-bit and 64-bit mode. > > > > From the LLDB documentation: > > > > https://lldb.llvm.org/test.html > > > > It is possible to customize the architecture of the test binaries and > compiler used by appending -A and -C options respectively to the CMake > variable LLDB_TEST_USER_ARGS. For example, to test LLDB against 32-bit > binaries built with a custom version of clang, do: > > > > > cmake -DLLDB_TEST_USER_ARGS="-A i386 -C /path/to/custom/clang" -G > Ninja > > > ninja check-lldb > > > > Doing > > > > > cmake -DLLDB_TEST_USER_ARGS="-A i386" -G Ninja > > > ninja check-lldb > > > > or > > > > > cmake -DLLDB_TEST_USER_ARGS="-A x86_64" -G Ninja > > > ninja check-lldb > > > > The LLDB Test Suite generates about 1538 errors related to missing cmake > targets. > > > > But if I used the CMake variable LLDB_TEST_ARCH as > > > > > cmake -DLLDB_TEST_ARCH="-A i386" -G Ninja > > > ninja check-lldb > > > > or > > > > > cmake -DLLDB_TEST_ARCH="-A x86_64" -G Ninja > > > ninja check-lldb > > I think the correct invocation should be -DLLDB_TEST_ARCH=x86_64 (-A > is automatically added). I'm surprised that the test suite passes if > you pass "-A", but that could be simply because the test suite ignores > unknown architectures. >
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits