rocksdb/snappy/snappy-1.0.5/dhruba.txt
Dhruba Borthakur 21f2fe4419 Build snappy for leveldb.
Summary:

Test Plan:

Reviewers:

CC:

Task ID: #

Blame Rev:
2012-07-17 00:18:23 -07:00

13 lines
344 B
Plaintext

# for fbcode compile, run leveldb/fbcode.sh
autoconf
./configure
# for running fbcode, edit config.h and comment out the followng two lines:
// #define HAVE_LIBLZO2 1
// #define HAVE_LIBZ 1
edit Makefile and change "UNITTEST_LIBS = -llzo2 -lz" to "UNITTEST_LIBS = -lz"
make top_builddir="." LIBTOOL=libtool -e "CPPFLAGS=-DNDEBUG" clean all