<div dir="ltr">Hi, <div><br></div><div>I am not aware of anyone ever trying that. In theory it should work if you copy the build and source folders to the other machine and run dotest.py with the right arguments there, but I guess that is not what you meant by "easy". The thing that I would try in this situation is to set it up so that the build actually runs on the target device, but then use some distcc tricks to offload the compilation to a more powerful machine. I am not sure how easy would that be to setup though...</div><div><br></div><div>pl</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 December 2016 at 23:15, Dmitry Mikulin <span dir="ltr"><<a href="mailto:dmitrym@juniper.net" target="_blank">dmitrym@juniper.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
I have a slightly unrelated question: is there an easy way to cross-build, say, an ARM lldb, and run native tests on an ARM board same as what check-lldb does? The lldb test page only talks about running remote tests. No info on cross testing.
<div><br>
</div>
<div>Thanks!<div><div class="h5"><br>
<div><br>
</div>
<div><br>
<div>
<blockquote type="cite">
<div>On Dec 2, 2016, at 2:29 AM, Pavel Labath <<a href="mailto:labath@google.com" target="_blank">labath@google.com</a>> wrote:</div>
<br class="m_7017142209247683058Apple-interchange-newline">
<div>
<div dir="ltr">I am glad to see freebsd is making progress on this front. If you need any help with understanding how lldb-server works, feel free to shoot me a question.
<div><br>
</div>
<div>pl</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 1 December 2016 at 23:00, Dmitry Mikulin <span dir="ltr">
<<a href="mailto:dmitrym@juniper.net" target="_blank">dmitrym@juniper.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Thanks for the suggestions.
<div>I’m working on native support for FreeBSD lldb-server, and wanted to have an option to build it both ways until it’s stable enough to replace current implementation. I’ll have it in a separate directory.</div>
<div>
<div class="m_7017142209247683058h5">
<div><br>
</div>
<div><br>
<div>
<blockquote type="cite">
<div>On Dec 1, 2016, at 2:55 AM, Pavel Labath <<a href="mailto:labath@google.com" target="_blank">labath@google.com</a>> wrote:</div>
<br class="m_7017142209247683058m_-2957138853939261505Apple-interchange-newline">
<div>
<div dir="ltr">The way we have done this with Linux native register contexts was to notionally leave the files in the build, but completely #ifdef out their contents (see NativeRegisterConextLinux_arm.<wbr>cpp).
<div>It's not very nice, but I think it's better than having six subfolders, each with a single cpp file. If you'll need to group more than one file this way, then maybe a subfolder would make more sense though.</div>
<div><br>
</div>
<div>pl</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 1 December 2016 at 00:30, Zachary Turner via lldb-dev
<span dir="ltr"><<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Unfortunately you will need to separate them at the directory levels.</div>
<div class="m_7017142209247683058m_-2957138853939261505HOEnZb">
<div class="m_7017142209247683058m_-2957138853939261505h5"><br>
<div class="gmail_quote">
<div dir="ltr">On Wed, Nov 30, 2016 at 4:29 PM Dmitry Mikulin via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
I’m trying to conditionally add source files to the lldb build based on a cmake configure time variable. I get the following type of errors for all sources not included in the build:<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
CMake Error at cmake/modules/LLVMProcessSourc<wbr>es.cmake:83 (message):<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
  Found unknown source file<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
  /homes/dmitrym/buildspace/llvm<wbr>-tot/llvm/tools/lldb/source/Pl<wbr>ugins/Process/FreeBSD/FreeBSDT<wbr>hread.cpp<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
  Please update<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
  /homes/dmitrym/buildspace/llvm<wbr>-tot/llvm/tools/lldb/source/Pl<wbr>ugins/Process/FreeBSD/CMakeLis<wbr>ts.txt<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
Is there a way to work around/fix it or do I need to separate the files at the directory level?<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
Thanks.<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
Dmitry.<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
______________________________<wbr>_________________<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
lldb-dev mailing list<br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
<a href="mailto:lldb-dev@lists.llvm.org" class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg" target="_blank">lldb-dev@lists.llvm.org</a><br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/lldb-dev</a><br class="m_7017142209247683058m_-2957138853939261505m_5471620034683590982gmail_msg">
</blockquote>
</div>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/lldb-dev</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>