<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 14 November 2013 17:43, Mikael Lyngvig <span dir="ltr"><<a href="mailto:mikael@lyngvig.org" target="_blank">mikael@lyngvig.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Renato, thanks for your elaborate walk-through of the issues with ARM boards.  I'm trying to add some of this to the "How to Build on ARM" document and will submit a patch later on.</div>

</blockquote><div><br></div><div>Nice, thanks! That would be great!</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div>Unfortunately, my personal budget does not allow me more than a single Odroid XU board for the time being.  So I'll have to do with only one board.  I happen to have an eMMC card and it is fairly fast.<br>

</div></div></blockquote><div><br></div><div>That's good. Still, I'd have it running locally on your master for a week or so, just to make sure it's stable enough.</div><div><br></div><div>To create a local master you need to read this doc:</div>

<div><br></div><div><a href="https://buildbot.readthedocs.org/en/v0.8.6/manual/installation.html" target="_blank">https://buildbot.readthedocs.org/en/v0.8.6/manual/installation.html</a><br></div><div><br></div><div>And add Zorg to your master. The way I did was to create a master on buildbot's user dir, (buildbot create-master ~/buildmaster/llvm), checkout zorg, symlink the master/builders configs from zorg into the buildmaster dir, symlink the zorg's Python module into /lib/python2.7/whatever (can't remember), and start the master via (buildbot master start).</div>

<div><br></div><div>Then, I'd create two buildslaves on the board, one in ~/localbot and one in ~/buildbot, with the former pointing to your local master and the latter pointing to LLVM's official master, so that it's easy for you to swap. (<a href="http://llvm.org/docs/HowToAddABuilder.html" target="_blank">http://llvm.org/docs/HowToAddABuilder.html</a>)</div>

<div><br></div><div>On the master, I stripped down all builders from the config and only left my own boards, so that I don't clutter the waterfall/builders page.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div></div>
<div>By the way, how do you set the CPU scheduler to "performance" (procfs something?).  Just so that it can be added to the docs.<br></div></div></blockquote><div></div></div><div class="gmail_extra"><br></div>
for ((cpu=0; cpu<`grep -c proc /proc/cpuinfo`; cpu++)); do<br></div><div class="gmail_extra">
<div class="gmail_extra">  sudo sudo cpufreq-set -c $cpu -g performance<br></div><div class="gmail_extra">done</div><div><br></div><div>cheers,</div><div>--renato</div></div></div>