summaryrefslogtreecommitdiff
path: root/do_autogen.sh
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2012-02-23 09:44:05 -0800
committerSage Weil <sage@newdream.net>2012-02-24 11:15:04 -0800
commit804f243b2ac2d8aaf5117b5f296a53511cfa0a7a (patch)
treef8d51c196b82bfd56bfcd7e1b489ae5623b6f21e /do_autogen.sh
parent7c7349ef5d55479e72c18b3756742d2662dded94 (diff)
downloadceph-804f243b2ac2d8aaf5117b5f296a53511cfa0a7a.tar.gz
do_autogen.sh: -T for --without-tcmalloc
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'do_autogen.sh')
-rwxr-xr-xdo_autogen.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/do_autogen.sh b/do_autogen.sh
index 130df872d13..eb0c8c6d31f 100755
--- a/do_autogen.sh
+++ b/do_autogen.sh
@@ -11,6 +11,7 @@ do_autogen.sh: make a ceph build by running autogen, etc.
level 3: -Wextra
level 4: even more...
-H --with-hadoop
+-T --without-tcmalloc
-e <path> dump encoded objects to <path>
-P profiling build
@@ -25,8 +26,8 @@ die() {
debug_level=0
verbose=0
profile=0
-HADOOP_FLAGS=
-while getopts "d:e:hHPv" flag
+CONFIGURE_FLAGS=
+while getopts "d:e:hHTPv" flag
do
case $flag in
d) debug_level=$OPTARG;;
@@ -36,7 +37,9 @@ do
h) usage
exit 0;;
- H) HADOOP_FLAGS="--with-hadoop";;
+ H) CONFIGURE_FLAGS="$CONFIGURE_FLAGS --with-hadoop";;
+
+ T) CONFIGURE_FLAGS="$CONFIGURE_FLAGS --without-tcmalloc";;
v) verbose=1;;
@@ -108,5 +111,5 @@ export CXXFLAGS
./configure \
--prefix=/usr --sbindir=/sbin --localstatedir=/var --sysconfdir=/etc \
--with-gtk2=yes --with-debug $with_profiler --with-cryptopp --with-radosgw \
-$HADOOP_FLAGS \
+$CONFIGURE_FLAGS \
|| die "configure failed"