mirror of
https://github.com/ceph/ceph
synced 2024-12-28 22:43:29 +00:00
Merge pull request #11443 from wjwithagen/wip-wjw-freebsd-cmake-options
do_freebsd.sh: Set options for debug building. Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
2eb89c8a9c
@ -6,7 +6,7 @@ if test -e build; then
|
||||
fi
|
||||
mkdir build
|
||||
cd build
|
||||
cmake $@ ..
|
||||
cmake "$@" ..
|
||||
|
||||
# minimal config to find plugins
|
||||
cat <<EOF > ceph.conf
|
||||
|
@ -13,6 +13,7 @@ fi
|
||||
rm -rf build && ./do_cmake.sh "$*" \
|
||||
-D CMAKE_BUILD_TYPE=Debug \
|
||||
-D CMAKE_CXX_FLAGS_DEBUG="-O0 -g" \
|
||||
-D CMAKE_C_FLAGS_DEBUG="-O0 -g" \
|
||||
-D ENABLE_GIT_VERSION=OFF \
|
||||
-D WITH_BLKID=OFF \
|
||||
-D WITH_FUSE=OFF \
|
||||
@ -26,6 +27,6 @@ rm -rf build && ./do_cmake.sh "$*" \
|
||||
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
|
||||
gmake -j$NPROC V=1 VERBOSE=1
|
||||
gmake -j$NPROC check CEPH_BUFFER_NO_BENCH=yes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user