Commit Graph

30 Commits

Author SHA1 Message Date
Yunchuan Wen
e4c6922cca add help to do_autogen.sh
Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Reviewed-by: Li Wang <liwang@ubuntukylin.com>
2015-08-03 13:16:00 +00:00
Yunchuan Wen
e28b3d111d Allow do_autogen.sh to pass configure parameters
Currently do_autogen.sh does not allow to pass parameters
of configure to disable/enable components during building, which is not
flexible, this patch add the ability to it.

Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Reviewed-by: Li Wang <liwang@ubuntukylin.com>
2015-08-03 13:03:47 +00:00
Sage Weil
e874a9b7d2 do_autogen.sh: unambiguously use nss unless user asks for cryptopp
Signed-off-by: Sage Weil <sage@redhat.com>
2015-04-21 17:00:27 -07:00
Nathan Cutler
56039b37b3 do_autogen.sh: add missing '--without-lttng' option to usage
Signed-off-by: Nathan Cutler <ncutler@suse.cz>
2015-04-10 21:52:11 +02:00
David Zafman
e0f12d9a8c Fix do_autogen.sh so that -L is allowed
Signed-off-by: David Zafman <dzafman@redhat.com>
2015-02-02 16:40:46 -08:00
Sage Weil
f40ee8c940 do_autogen.sh: default to --with-lttng, -L to build without
Get developers building with LTTNG by default.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-02-02 03:04:48 -08:00
shishir gowda
973e9f755a jemalloc-support: Added --with-jemalloc configure option
If --with-jemalloc option is not specified, then it defaults to tcmalloc.

If --with-jemalloc is specified, then --without-tcmalloc is required.
Also if a rocksdb static linking is desired --with-librocksdb-static,
do not use --with-jemalloc, as rocksdb uses tcmalloc for builds.

Support for jemalloc in package build and perf stats/heap profiler is
underway

Signed-off-by: shishir gowda <shishir.gowda@sandisk.com>
2014-12-15 11:22:29 +05:30
Federico Gimenez
e72dfb48f4 Default configure with nss instead of cryptopp
The -n option for nss has been changed to -c to give the
chance to pass cryptopp flag to configure

Signed-off-by: Federico Gimenez <fgimenez@coit.es>
2014-10-21 08:44:43 +02:00
Sage Weil
bcebf9c0ab do_autogen.sh: build with static librocksdb
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-31 21:11:24 -07:00
Sage Weil
385fd6c532 do_autogen.sh: --disable-static
This will make builds go ~2x as fast when developing.

Reported-by: Luis Pabon <lpabon@redhat.com>
Signed-off-by: Sage Weil <sage@inktank.com>
2014-06-25 10:27:07 -07:00
Loic Dachary
f193925aa5 autogen: test compare strings with != not -ne
Signed-off-by: Loic Dachary <loic@dachary.org>
2013-12-19 13:40:06 +01:00
Noah Watkins
b86c068669 hadoop: remove hadoop shim
The in-tree Hadoop shim was a combination of libcephfs wrapper, and the
bits to support Hadoop. This has been replaced by src/java that
implements generic libcephfs wrappers, and externally, the hadoop shim
(see docs).

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2013-09-13 13:39:48 -07:00
Christophe Courtaut
8e53301840 Do not use some compilation flag invalid for clang
-Wstrict-null-sentinel and -rdynamic are invalid flags
for clang compiler.

Signed-off-by: Christophe Courtaut <christophe.courtaut@gmail.com>
2013-08-20 11:42:19 +02:00
Sage Weil
4a0398d0ba do_autogen.sh: add -j flag to enable java stuff
Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2012-10-19 09:59:10 -07:00
Sage Weil
5bbd5dce11 do_autogen.sh: -n for nss
Cryptopp (at least my installed version) doesn't build on gcc 4.7.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-08-16 11:39:22 -07:00
Sage Weil
85558759d7 do_autogen.sh: apply 'profiler' options to CXXFLAGS, too
-P now leaves in frame pointers and makes sure debugging is turned down.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-08-16 11:07:41 -07:00
Sage Weil
3e50a09d29 do_autogen.sh: -p to pass --with-profiler to configure (google cpu profiler)
The -P profiling stuff seems somewhat nonsensical.. that should be cleaned
up too.

Signed-off-by: Sage Weil <sage@inktank.com>
2012-08-16 11:05:44 -07:00
Sage Weil
89316566b5 remove gceph
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-17 20:23:33 -07:00
Sage Weil
6ab8526438 do_autogen: control optimization level
-O 2 -> -O2

Signed-off-by: Sage Weil <sage@newdream.net>
2012-03-27 10:41:40 -07:00
Sage Weil
804f243b2a do_autogen.sh: -T for --without-tcmalloc
Signed-off-by: Sage Weil <sage@newdream.net>
2012-02-24 11:15:04 -08:00
Sage Weil
00a2e84b38 do_autogen.sh: -e <path> to dump encoded objects to a path
Make it easy to build with encode dumping enabled.  This is just a
convenient way to generate a large corpus of encoded objects.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-02-01 16:34:00 -08:00
Colin Patrick McCabe
e9fb106a59 do_autogen: add -H for --with-hadoop
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-04-25 11:05:43 -07:00
Colin Patrick McCabe
0bd7ee506e do_autogen.sh: don't clear CFLAGS, CXXFLAGS
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-04-25 11:05:43 -07:00
Colin Patrick McCabe
4b547cbb52 Makefile: add some new warnings to CXXFLAGS
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-04-22 16:41:55 -07:00
Colin Patrick McCabe
ac5ad4eddb do_autogen: create radosgw
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-03-23 17:33:51 -07:00
Colin Patrick McCabe
fd5fd94807 RGW: validate bucket names and object names
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-03-23 17:33:51 -07:00
Colin Patrick McCabe
468ce23ed3 do_autogen: add -O2 when compiling for profiling
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-03-07 03:04:39 -08:00
Colin Patrick McCabe
88cc244e32 do_autogen.sh: add -P option
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-03-04 09:30:45 -08:00
Colin Patrick McCabe
18e9b66edd do_autogen: add -P (--with-profiler)
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-03-01 06:44:40 -08:00
Colin Patrick McCabe
52866751c4 Add do_autogen.sh
It's handy when making builds with various different warning levels.
Also saves you from having to remember --prefix, etc. all the time.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-02-03 09:15:59 -08:00