2 git submodule update --init --recursive
4 echo 'build dir already exists; rm -rf build and re-run'
8 if type ccache > /dev/null 2>&1 ; then
10 ARGS="$ARGS -DWITH_CCACHE=ON"
15 if type cmake3 > /dev/null 2>&1 ; then
20 ${CMAKE} -DCMAKE_BUILD_TYPE=Debug $ARGS "$@" .. || exit 1
22 # minimal config to find plugins
25 erasure code dir = lib