Added README for snappy builds

Summary:

Test Plan:

Reviewers:

CC:

Task ID: #

Blame Rev:
This commit is contained in:
Dhruba Borthakur 2012-07-17 00:29:06 -07:00
parent 21f2fe4419
commit 4274e6c6db

View File

@ -4,3 +4,11 @@ http://code.google.com/p/snappy/downloads/detail?name=snappy-1.0.5.tar.gz
This is compiled using gcc-4.6.2-glibc-2.13 on centos5.2 This is compiled using gcc-4.6.2-glibc-2.13 on centos5.2
and uses jemalloc. This is here so that one can compile leveldb to use and uses jemalloc. This is here so that one can compile leveldb to use
snappy easily. snappy easily.
To compile,:
cd ./snappy-1.0.5
execute either make or compile.sh.
This will create *.so and *.a in snappy-1.0.5/.libs.
run unit tests:
./snappy-1.0.5/snappy_unittest