2 git submodule update --init --recursive
4 echo 'build dir already exists; rm -rf build and re-run'
10 echo "enabling ccache"
11 ARGS="$ARGS -DWITH_CCACHE=ON"
16 cmake -DBOOST_J=$(nproc) $ARGS "$@" ..
18 # minimal config to find plugins
21 erasure code dir = lib
24 # give vstart a (hopefully) unique mon port to start with
25 echo $(( RANDOM % 1000 + 40000 )) > .ceph_port