Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

Difference between revisions of "Template:MacOLABuild"

From wiki.openlighting.org

Jump to: navigation, search
(Created page with "= Run autoreconf= If this is the first time run with -i to install the missing files autoreconf -i = Do the usual build steps= You can pass additional options to ./configure…")
 
(Do the usual build steps)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
   ./configure --help
 
   ./configure --help
  
to see all options. The most popular option is --enable-python-libs to build the Python Client Module.
+
to see all options. The most popular option is <tt>--enable-python-libs</tt> to build the Python Client Module. If you want to use the RDM responder tests add <tt>--enable-rdm-tests</tt>.
  
Once you've decided on the options, it's time to build OLA
+
Once you've decided on the options, it's time to build OLA. If you have a multi-core machine, you can speed up the build by using <tt>make -j N</tt>. A good value of N is the number of cores on your machine. On a MacBook Pro (4 core) using <tt>-j 4</tt> reduced the build time from 5 minutes to 2.5 minutes.
  
  ./configure --enable-python-libs
+
  ./configure --enable-rdm-tests
 
  make
 
  make
 
  make check
 
  make check
 
  sudo make install
 
  sudo make install

Latest revision as of 14:58, 16 March 2013

Run autoreconf

If this is the first time run with -i to install the missing files

autoreconf -i

Do the usual build steps

You can pass additional options to ./configure . Run

 ./configure --help

to see all options. The most popular option is --enable-python-libs to build the Python Client Module. If you want to use the RDM responder tests add --enable-rdm-tests.

Once you've decided on the options, it's time to build OLA. If you have a multi-core machine, you can speed up the build by using make -j N. A good value of N is the number of cores on your machine. On a MacBook Pro (4 core) using -j 4 reduced the build time from 5 minutes to 2.5 minutes.

./configure --enable-rdm-tests
make
make check
sudo make install