Skip to content

Commit

Permalink
Few corrections on the document page.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143578 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
gkistanova committed Nov 2, 2011
1 parent 985cc35 commit d695687
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions docs/HowToAddABuilder.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
</head>
<body>

<h1>How To Release LLVM To The Public</h1>
<h1>How To Add Your Build Configuration To LLVM Buildbot Infrastructure</h1>
<ol>
<li><a href="#introduction">Introduction</a></li>
<li><a href="#criteria">Steps To Add Builder To LLVM Buildbot</a></li>
<li><a href="#process">Steps To Add Builder To LLVM Buildbot</a></li>
</ol>
<div class="doc_author">
<p>Written by <a href="mailto:[email protected]">Galina Kistanova</a>
Expand All @@ -24,16 +24,17 @@ <h2><a name="introduction">Introduction</a></h2>

<div>

<p>This document contains information about adding private slave builder to
LLVM Buildbot Infrastructure: <tt>http://lab.llvm.org:8011</tt>
<p>This document contains information about adding a build configuration and
buildslave to private slave builder to LLVM Buildbot Infrastructure
<a href="http://lab.llvm.org:8011">http://lab.llvm.org:8011</a>
</div>

<!-- *********************************************************************** -->
<h2><a name="process">Steps To Add Builder To LLVM Buildbot</a></h2>
<!-- *********************************************************************** -->
<div>

<p>Volunters can provide there build machines to work as slave builders to
<p>Volunteers can provide their build machines to work as build slaves to
public LLVM Buildbot. Below described recommended steps to implement this
task.</p>

Expand All @@ -42,8 +43,8 @@ <h2><a name="process">Steps To Add Builder To LLVM Buildbot</a></h2>
<ol>
<li><p>Check the existing build configurations to make sure the one you are
interested in is not covered yet or gets built on your computer much
faster than existing one. We prefer faster builds so developers will get
feedback sooner after changes get committed.</p></li>
faster than on the existing one. We prefer faster builds so developers
will get feedback sooner after changes get committed.</p></li>

<li><p>The computer you will be registering with the LLVM buildbot
infrastructure should have all dependencies installed and you can
Expand All @@ -53,7 +54,8 @@ <h2><a name="process">Steps To Add Builder To LLVM Buildbot</a></h2>
<li><p>Install buildslave (currently we are using buildbot version 0.8.5).
Depending on the platform, buildslave could be available to download and
install with your packet manager, or you can download it directly from
<tt>http://trac.buildbot.net/</tt> and install it manually.</p></li>
<a href="http://trac.buildbot.net">http://trac.buildbot.net</a> and
install it manually.</p></li>

<li><p>Create a designated user account your buildslave will be running
under.</p></li>
Expand All @@ -63,7 +65,7 @@ <h2><a name="process">Steps To Add Builder To LLVM Buildbot</a></h2>
to authenticate your build slave.</p></li>

<li><p>Then create a build slave in context of that buildslave account.
Point it to the <tt>lab.llvm.org port 9990</tt><br />
Point it to the lab.llvm.org port 9990<br />
(see <tt>http://buildbot.net/buildbot/docs/current/full.html#creating-a-slave</tt>
for more details) by running the following command:
<div class="doc_code">
Expand All @@ -78,7 +80,7 @@ <h2><a name="process">Steps To Add Builder To LLVM Buildbot</a></h2>
<pre>
Windows 7 x64
Core i7 (2.66GHz), 16GB of RAM

g++.exe (TDM-1 mingw32) 4.4.0
GNU Binutils 2.19.1
cmake version 2.8.4
Expand All @@ -87,7 +89,7 @@ <h2><a name="process">Steps To Add Builder To LLVM Buildbot</a></h2>

<li><p>Make sure you can actually start the buildslave successfully. Then set
up your build slave to start automatically at the start up time.
See buildbot manual for help.</p></li>
See buildbot manual for help. You may want to restart your computer to see if it works.</p></li>

<li><p>Send a patch which adds your build slave and builder to zorg.<br />
* slaves are added to<br />
Expand All @@ -98,7 +100,13 @@ <h2><a name="process">Steps To Add Builder To LLVM Buildbot</a></h2>
<li><p>Then send the buildslave access name and password directly to
<a href="mailto:[email protected]">Galina Kistanova</a>

<li><p>Finally, the end!</p></li>
<li><p>Check the status of your buildslave on
http://lab.llvm.org:8011/waterfall to make sure it is connected, and
http://lab.llvm.org:8011/buildslaves/&lt;your buildslave name&gt; to see
if the information is correct.</p></li>

<li><p>Wait for the first build to succeed and see if it could go faster with
higher degree of parallelism (-j param).</p></li>
</ol>

</div>
Expand Down

0 comments on commit d695687

Please sign in to comment.