X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fdo_cmake.sh;fp=src%2Fceph%2Fdo_cmake.sh;h=0000000000000000000000000000000000000000;hb=7da45d65be36d36b880cc55c5036e96c24b53f00;hp=739da8e5b0ce322426f9e1bac9389bb074f16187;hpb=691462d09d0987b47e112d6ee8740375df3c51b2;p=stor4nfv.git diff --git a/src/ceph/do_cmake.sh b/src/ceph/do_cmake.sh deleted file mode 100755 index 739da8e..0000000 --- a/src/ceph/do_cmake.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -x -git submodule update --init --recursive -if test -e build; then - echo 'build dir already exists; rm -rf build and re-run' - exit 1 -fi - -ARGS="" -if which ccache ; then - echo "enabling ccache" - ARGS="$ARGS -DWITH_CCACHE=ON" -fi - -mkdir build -cd build -cmake -DBOOST_J=$(nproc) $ARGS "$@" .. - -# minimal config to find plugins -cat < ceph.conf -plugin dir = lib -erasure code dir = lib -EOF - -# give vstart a (hopefully) unique mon port to start with -echo $(( RANDOM % 1000 + 40000 )) > .ceph_port - -echo done.