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
(Do the usual build steps)
(Do the usual build steps)
 
Line 13: Line 13:
 
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>.
 
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-rdm-tests
 
  ./configure --enable-rdm-tests

Latest revision as of 15: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