1
0
mirror of https://github.com/ceph/ceph synced 2025-03-20 09:16:59 +00:00
ceph/do_cmake.sh

17 lines
263 B
Bash
Raw Normal View History

#!/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
mkdir build
cd build
cmake $@ ..
cat <<EOF > ceph.conf
plugin dir = lib
erasure code dir = lib
EOF
echo done.