]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
do_autogen.sh: build with static librocksdb
authorSage Weil <sage@redhat.com>
Mon, 28 Jul 2014 21:04:20 +0000 (14:04 -0700)
committerSage Weil <sage@redhat.com>
Fri, 1 Aug 2014 04:11:24 +0000 (21:11 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
do_autogen.sh

index 49c2451c795d775ea9b7521f74998116830a7718..03b5dd2b9bf72927387e45f05f34e0e095801b95 100755 (executable)
@@ -17,6 +17,7 @@ do_autogen.sh: make a ceph build by running autogen, etc.
 -O <level>                       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;;