summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2010-05-19 12:13:48 -0400
committerAndrea Bastoni <bastoni@cs.unc.edu>2010-05-19 12:13:48 -0400
commit9e383c28f0e437ae532680086be45afdcf076e6a (patch)
treec03e2ea05b15ab83ff1b2809ce9e604004e2d6d2
parentea39575fe04b99f224d9b3383b608e4b21d6c26a (diff)
Update scons section and add -h option
-rw-r--r--index.html46
1 files changed, 45 insertions, 1 deletions
diff --git a/index.html b/index.html
index 6961509..f820371 100644
--- a/index.html
+++ b/index.html
@@ -380,8 +380,52 @@ make modules
380 depends on the LITMUS<sup>RT</sup> kernel kernel and provides its own build system (based on <a href="http://www.scons.org/">scons</a>). 380 depends on the LITMUS<sup>RT</sup> kernel kernel and provides its own build system (based on <a href="http://www.scons.org/">scons</a>).
381 In order to compile <span class="src">liblitmus</span>, you need to adjust the 381 In order to compile <span class="src">liblitmus</span>, you need to adjust the
382 variable <span class="src">LITMUS_KERNEL</span> in the <span class="src">SConstruct</span> file to point to your 382 variable <span class="src">LITMUS_KERNEL</span> in the <span class="src">SConstruct</span> file to point to your
383 copy of the kernel. 383 copy of the kernel. Users should not update the <span class="src">SConstruct</span> file manually anymore. Instead, a <span class="src">.config</span> file can be created with appropriate variables. The required variables can be listed using <span class="src"> scons -h </span> command. This command lists the variables required for building the <span class="src"> liblitmus2010 </span> library. <br>
384 Sample output of <span class="src"> scons -h </span> is as shown below.
384 </p> 385 </p>
386 <p>
387 <pre class="shell">
388scons -h
389scons: Reading SConscript files ...
390scons: done reading SConscript files.
391
392=============================================
393liblitmus --- The LITMUS^RT Userspace Library
394
395There are a number of user-configurable build
396variables. These can either be set on the
397command line (e.g., scons ARCH=x86) or read
398from a local configuration file (.config).
399
400Run 'scons --dump-config' to see the final
401build configuration.
402
403Build Variables
404---------------
405
406LITMUS_KERNEL: Where to find the LITMUS^RT kernel. ( /path/to/LITMUS_KERNEL )
407 default: ../litmus2010
408 actual: ../litmus2010
409
410PYTHON_HEADERS: Where to find Python headers. ( /path/to/PYTHON_HEADERS )
411 default: /usr/include/python2.5
412 actual: /usr/include/python2.5
413
414ARCH: Target architecture. (x86_64|sparc64|x86|i686)
415 default: x86_64
416 actual: x86_64
417
418WSS: Working set size for pm analysis
419 default: 3072
420 actual: 3072
421
422Use scons -H for help about command-line options.
423 </pre>
424</p>
425<p class="notopmargin">
426 To summarize, the <span class="src"> liblitmus </span> can be obtained and
427 compiled with the following commands:
428</p>
385<pre class="shell"> 429<pre class="shell">
386cd $DIR 430cd $DIR
387wget http://www.cs.unc.edu/~anderson/litmus-rt/download/2010.1/liblitmus-2010.1.tgz 431wget http://www.cs.unc.edu/~anderson/litmus-rt/download/2010.1/liblitmus-2010.1.tgz