Added a note about LZ4 compression dependency
Summary: Closes https://github.com/facebook/rocksdb/pull/2554 Differential Revision: D5391019 Pulled By: siying fbshipit-source-id: a1d36037ef4c34b9ca77ab2127f3e17242c617cc
This commit is contained in:
parent
56656e12d6
commit
643b787c7b
@ -32,6 +32,7 @@ to build a portable binary, add `PORTABLE=1` before your make commands, like thi
|
|||||||
* You can link RocksDB with following compression libraries:
|
* You can link RocksDB with following compression libraries:
|
||||||
- [zlib](http://www.zlib.net/) - a library for data compression.
|
- [zlib](http://www.zlib.net/) - a library for data compression.
|
||||||
- [bzip2](http://www.bzip.org/) - a library for data compression.
|
- [bzip2](http://www.bzip.org/) - a library for data compression.
|
||||||
|
- [lz4](https://github.com/lz4/lz4) - a library for extremely fast data compression.
|
||||||
- [snappy](http://google.github.io/snappy/) - a library for fast
|
- [snappy](http://google.github.io/snappy/) - a library for fast
|
||||||
data compression.
|
data compression.
|
||||||
- [zstandard](http://www.zstd.net) - Fast real-time compression
|
- [zstandard](http://www.zstd.net) - Fast real-time compression
|
||||||
@ -53,6 +54,7 @@ to build a portable binary, add `PORTABLE=1` before your make commands, like thi
|
|||||||
`sudo apt-get install libsnappy-dev`.
|
`sudo apt-get install libsnappy-dev`.
|
||||||
* Install zlib. Try: `sudo apt-get install zlib1g-dev`.
|
* Install zlib. Try: `sudo apt-get install zlib1g-dev`.
|
||||||
* Install bzip2: `sudo apt-get install libbz2-dev`.
|
* Install bzip2: `sudo apt-get install libbz2-dev`.
|
||||||
|
* Install lz4: `sudo apt-get install liblz4-dev`.
|
||||||
* Install zstandard: `sudo apt-get install libzstd-dev`.
|
* Install zstandard: `sudo apt-get install libzstd-dev`.
|
||||||
|
|
||||||
* **Linux - CentOS / RHEL**
|
* **Linux - CentOS / RHEL**
|
||||||
@ -81,6 +83,10 @@ to build a portable binary, add `PORTABLE=1` before your make commands, like thi
|
|||||||
|
|
||||||
sudo yum install bzip2 bzip2-devel
|
sudo yum install bzip2 bzip2-devel
|
||||||
|
|
||||||
|
* Install lz4:
|
||||||
|
|
||||||
|
sudo yum install lz4-devel
|
||||||
|
|
||||||
* Install ASAN (optional for debugging):
|
* Install ASAN (optional for debugging):
|
||||||
|
|
||||||
sudo yum install libasan
|
sudo yum install libasan
|
||||||
|
Loading…
Reference in New Issue
Block a user