Skip to content

Commit

Permalink
do_freebsd*.sh: rename do_freebsd-cmake.sh to do_freebsd.sh
Browse files Browse the repository at this point in the history
as autotools is dropped. and remove trailing spaces.

Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Sep 15, 2016
1 parent a879c15 commit e8cee25
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 37 deletions.
31 changes: 0 additions & 31 deletions do_freebsd-cmake.sh

This file was deleted.

24 changes: 18 additions & 6 deletions do_freebsd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,22 @@ if [ x"$1"x = x"--deps"x ]; then
fi
sudo ./install-deps.sh
fi
. ./autogen_freebsd.sh
./autogen.sh
./configure ${CONFIGURE_FLAGS}
( cd src/gmock/gtest; patch < /usr/ports/devel/googletest/files/patch-bsd-defines )
gmake -j$NPROC ENABLE_GIT_VERSION=OFF
gmake -j$NPROC check ENABLE_GIT_VERSION=OFF CEPH_BUFFER_NO_BENCH=yes
rm -rf build && ./do_cmake.sh "$*" \
-D CMAKE_BUILD_TYPE=Debug \
-D CMAKE_CXX_FLAGS_DEBUG="-O0 -g" \
-D ENABLE_GIT_VERSION=OFF \
-D WITH_BLKID=OFF \
-D WITH_FUSE=OFF \
-D WITH_RBD=OFF \
-D WITH_XFS=OFF \
-D WITH_KVS=OFF \
-D WITH_MANPAGE=OFF \
-D WITH_LIBCEPHFS=OFF \
-D WITH_CEPHFS=OFF \
-D WITH_RADOSGW=OFF \
2>&1 | tee cmake.log

cd build
gmake -j$NPROC V=1 VERBOSE=1 | tee build.log 2>&1
gmake -j$NPROC check CEPH_BUFFER_NO_BENCH=yes | tee check.log 2>&1

0 comments on commit e8cee25

Please sign in to comment.