Mac OS builds on scgbuild » History » Version 1

Version 1/2 - Next » - Current version
Anonymous, 28 Jul 2016 15:49

Mac OS builds on scgbuild

Installing buildslave

Following the instructions for installing the buildslave for windows under

These commands were used to install the slave

pip install –upgrade pip
pip install pyopenssl
pip install service_identity     // only difference to doku wiki
pip install setuptools
pip install twisted
pip install buildbot-slave
buildslave –version             // check if correctly installed

Setting up a new slave

md \basedir
cd \basedir
buildslave create-slave . scgbuild slavename slave_password

Mac mini buildslave information

Name: elCapitainNativeSlave
Password: elCapitain_pwt

Cron job on Mac mini

Create new cron job for user scg with

crontab -e

In the file add a new line like the following

@reboot /Users/scg/

Cron will execute this script in the home directory of scg. The script contains one line:

cd basedir && buidslave start      // Other commands are buidslave stop or buildslave restart

Because the path variables in side the shell stared by cron were not the same as in a normal terminal session I added one line at the top of the file


If the cron job fails to be executed or some other error occurs the error messages will be sent to the machine local mail box with can be accessed over terminal by

mail // return for open, q for exit

The installed cron jobs can be listed with

crontab -user scg -l


  • MS4 tag for slave installed on mac mini building elCapitain
  • MS5 tag for slave installed on mac mini calling Vagrant box for building mavericks

build directory

build directory on mac mini is under scg/basedir

  • BornAgain-develop-OS_elCapitain/build
  • BornAgain-master-OS_elCapitain/build
  • BornAgain-master-OS_elCapitain/build

Vagrant machine and

For Mavericks currently stored under scg/basedir/mavericks-dev. Later to be copied from buildserver to build directory

build factorys for mac os builds

Currently two different makeFactory methods in - one for elCapitain local build and one for Vagrant box inside of mac mini (currently only Mavericks)