SuperCollider build settings

02 October 2015

How to compile SuperCollider and sc-plugins from latest git sources on OSX


get, compile and install supercollider

$ mkdir -p /localvol/sound/src/
$ cd /localvol/sound/src/
$ git clone --recursive
$ cd supercollider

$ brew install cmake
$ brew install readline
$ brew install qt

$ mkdir build
$ cd build
$ cmake -DCMAKE_PREFIX_PATH=`brew --prefix qt5` -DSC_QT=1 -DREADLINE_INCLUDE_DIR=`brew --prefix readline`/include -DREADLINE_LIBRARY=`brew --prefix readline`/lib/libreadline.dylib -DCMAKE_BUILD_TYPE=Release -DNATIVE=ON -DSC_SYMLINK_CLASSLIB=OFF ..

$ make -j 8
$ make install

It seems that the long waiting time for the server to start (about 10secs) is not caused by anything reproducible (at least not for me…). A restart and some fiddling with hyperthreading (see below) made it disappear… !?

Apparently, you can turn off hyperthreading via

$ sudo nvram SMT=0

and a restart. To reset the behaviour, remove the variable:

$ sudo nvram -d SMT


get, compile and install sc3-plugins

$ cd /localvol/sound/src/
$ git clone
$ cd sc3-plugins
$ mkdir build
$ cd build
$ cmake -DSC_PATH=/localvol/sound/src/supercollider ..
$ make -j8
$ cd $HOME/Library/Application Support/SuperCollider/Extensions
$ ln -s /localvol/sound/src/sc3-plugins/build/SC3plugins

This uses

  • homebrew which can be installed from
  • QT 5 via homebrew.

on a Mac OS X 10.9.3 (build 13D65) and GCC configured with:

--prefix=/Applications/ --with-gxx-include-dir=/Applications/
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.2.0
Thread model: posix