From bcebf9c0ab39b51707833ea04918c24b0a0fa7da Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 28 Jul 2014 14:04:20 -0700 Subject: [PATCH] do_autogen.sh: build with static librocksdb Signed-off-by: Sage Weil --- do_autogen.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/do_autogen.sh b/do_autogen.sh index 49c2451c795d7..03b5dd2b9bf72 100755 --- a/do_autogen.sh +++ b/do_autogen.sh @@ -17,6 +17,7 @@ do_autogen.sh: make a ceph build by running autogen, etc. -O optimize -n use libnss -j with java +-r with rocksdb EOF } @@ -30,7 +31,7 @@ debug_level=0 verbose=0 profile=0 CONFIGURE_FLAGS="--disable-static" -while getopts "d:e:hHTPjpnvO:" flag +while getopts "d:e:hHrTPjpnvO:" flag do case $flag in d) debug_level=$OPTARG;; @@ -49,6 +50,8 @@ do j) CONFIGURE_FLAGS="$CONFIGURE_FLAGS --enable-cephfs-java";; + r) CONFIGURE_FLAGS="$CONFIGURE_FLAGS --with-librocksdb-static";; + v) verbose=1;; e) encode_dump=$OPTARG;;