<div dir="ltr"><div><div></div>You are correct. Using the GUI interface to cmake, on those fields you add just "x86_64" or "i386".<br><br></div>Thanks very much.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 9, 2018 at 12:55 PM, Pavel Labath <span dir="ltr"><<a href="mailto:labath@google.com" target="_blank">labath@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 4 January 2018 at 09:00, Carlos Alberto Enciso via Phabricator via<br>
<span class="">lldb-commits <<a href="mailto:lldb-commits@lists.llvm.org">lldb-commits@lists.llvm.org</a>> wrote:<br>
> CarlosAlbertoEnciso added a comment.<br>
><br>
> I have some issues running the LLDB Test Suite in 32-bit and 64-bit mode.<br>
><br>
> From the LLDB documentation:<br>
><br>
> <a href="https://lldb.llvm.org/test.html" rel="noreferrer" target="_blank">https://lldb.llvm.org/test.<wbr>html</a><br>
><br>
>   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:<br>
><br>
>   > cmake -DLLDB_TEST_USER_ARGS="-A i386 -C /path/to/custom/clang" -G Ninja<br>
>   > ninja check-lldb<br>
><br>
> Doing<br>
><br>
>   > cmake -DLLDB_TEST_USER_ARGS="-A i386" -G Ninja<br>
>   > ninja check-lldb<br>
><br>
>   or<br>
><br>
>   > cmake -DLLDB_TEST_USER_ARGS="-A x86_64" -G Ninja<br>
>   > ninja check-lldb<br>
><br>
> The LLDB Test Suite generates about 1538 errors related to missing cmake targets.<br>
><br>
> But if I used the CMake variable LLDB_TEST_ARCH as<br>
><br>
>   > cmake -DLLDB_TEST_ARCH="-A i386" -G Ninja<br>
>   > ninja check-lldb<br>
><br>
>   or<br>
><br>
>   > cmake -DLLDB_TEST_ARCH="-A x86_64" -G Ninja<br>
>   > ninja check-lldb<br>
<br>
</span>I think the correct invocation should be -DLLDB_TEST_ARCH=x86_64 (-A<br>
is automatically added). I'm surprised that the test suite passes if<br>
you pass "-A", but that could be simply because the test suite ignores<br>
unknown architectures.<br>
</blockquote></div><br></div>