summaryrefslogtreecommitdiffstats
path: root/src/ceph/do_freebsd.sh
diff options
context:
space:
mode:
authorQiaowei Ren <qiaowei.ren@intel.com>2018-03-01 14:38:11 +0800
committerQiaowei Ren <qiaowei.ren@intel.com>2018-03-01 14:38:11 +0800
commit7da45d65be36d36b880cc55c5036e96c24b53f00 (patch)
treed4f944eb4f8f8de50a9a7584ffa408dc3a3185b2 /src/ceph/do_freebsd.sh
parent691462d09d0987b47e112d6ee8740375df3c51b2 (diff)
remove ceph code
This patch removes initial ceph code, due to license issue. Change-Id: I092d44f601cdf34aed92300fe13214925563081c Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
Diffstat (limited to 'src/ceph/do_freebsd.sh')
-rwxr-xr-xsrc/ceph/do_freebsd.sh54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/ceph/do_freebsd.sh b/src/ceph/do_freebsd.sh
deleted file mode 100755
index bf90074..0000000
--- a/src/ceph/do_freebsd.sh
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh -xve
-NPROC=`sysctl -n hw.ncpu`
-
-# we need bash first otherwise almost nothing will work
-if [ ! -L /bin/bash ]; then
- echo install bash and link /bin/bash to /usr/local/bin/bash
- echo Run:
- echo sudo pkg install bash
- echo ln -s /usr/local/bin/bash /bin/bash
- exit 1
-fi
-if [ x"$1"x = x"--deps"x ]; then
- sudo ./install-deps.sh
-fi
-
-if [ x"$CEPH_DEV"x != xx ]; then
- BUILDOPTS="$BUILDOPTS V=1 VERBOSE=1"
- CXX_FLAGS_DEBUG="-DCEPH_DEV"
- C_FLAGS_DEBUG="-DCEPH_DEV"
-fi
-
-# To test with a new release Clang, use with cmake:
-# -D CMAKE_CXX_COMPILER="/usr/local/bin/clang++-devel" \
-# -D CMAKE_C_COMPILER="/usr/local/bin/clang-devel" \
-
-rm -rf build && ./do_cmake.sh "$*" \
- -D CMAKE_BUILD_TYPE=Debug \
- -D CMAKE_CXX_FLAGS_DEBUG="$CXX_FLAGS_DEBUG -O0 -g" \
- -D CMAKE_C_FLAGS_DEBUG="$C_FLAGS_DEBUG -O0 -g" \
- -D ENABLE_GIT_VERSION=OFF \
- -D WITH_SYSTEM_BOOST=ON \
- -D WITH_LTTNG=OFF \
- -D WITH_BLKID=OFF \
- -D WITH_FUSE=ON \
- -D WITH_KRBD=OFF \
- -D WITH_XFS=OFF \
- -D WITH_KVS=OFF \
- -D CEPH_MAN_DIR=man \
- -D WITH_LIBCEPHFS=OFF \
- -D WITH_CEPHFS=OFF \
- -D WITH_EMBEDDED=OFF \
- -D WITH_MGR=YES \
- 2>&1 | tee cmake.log
-
-echo start building
-date
-(cd build; gmake -j$NPROC $BUILDOPTS )
-(cd build; gmake -j$NPROC $BUILDOPTS ceph-disk)
-(cd build; gmake -j$NPROC $BUILDOPTS ceph-detect-init)
-
-echo start testing
-date
-(cd build; ctest -j$NPROC || ctest --rerun-failed --output-on-failure)
-