Skip to content

Commit

Permalink
Update installation instructions (#8158)
Browse files Browse the repository at this point in the history
Summary:
Updated instructions for installing zstd on CentOS and note about clang-format dependency

Pull Request resolved: #8158

Reviewed By: riversand963

Differential Revision: D27598665

Pulled By: ajkr

fbshipit-source-id: e349eeb91147f3163e170cc29c8460b06d739b5b
  • Loading branch information
shoda-tibco authored and facebook-github-bot committed Apr 6, 2021
1 parent 879357f commit 6db3af1
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ to build a portable binary, add `PORTABLE=1` before your make commands, like thi
command line flags processing. You can compile rocksdb library even
if you don't have gflags installed.

* `make check` will also check code formatting, which requires [clang-format](https://clang.llvm.org/docs/ClangFormat.html)

* If you wish to build the RocksJava static target, then cmake is required for building Snappy.

## Supported platforms
Expand Down Expand Up @@ -94,12 +96,21 @@ to build a portable binary, add `PORTABLE=1` before your make commands, like thi
sudo yum install libasan

* Install zstandard:
* With [EPEL](https://fedoraproject.org/wiki/EPEL):

sudo yum install libzstd-devel

* With CentOS 8:

sudo dnf install libzstd-devel

* From source:

wget https://github.com/facebook/zstd/archive/v1.1.3.tar.gz
mv v1.1.3.tar.gz zstd-1.1.3.tar.gz
tar zxvf zstd-1.1.3.tar.gz
cd zstd-1.1.3
make && sudo make install
wget https://github.com/facebook/zstd/archive/v1.1.3.tar.gz
mv v1.1.3.tar.gz zstd-1.1.3.tar.gz
tar zxvf zstd-1.1.3.tar.gz
cd zstd-1.1.3
make && sudo make install

* **OS X**:
* Install latest C++ compiler that supports C++ 11:
Expand Down

0 comments on commit 6db3af1

Please sign in to comment.