From bdd166c03136d55abae1769c73806cfd20a5a226 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 3 Jan 2021 00:47:58 -0800 Subject: [PATCH] adjust readme --- weed/filer/rocksdb/README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/weed/filer/rocksdb/README.md b/weed/filer/rocksdb/README.md index de4f41b0a..6bae6d34e 100644 --- a/weed/filer/rocksdb/README.md +++ b/weed/filer/rocksdb/README.md @@ -16,7 +16,6 @@ brew install snappy # install rocksdb: ``` - export ROCKSDB_HOME=/Users/chris/dev/rocksdb git clone https://github.com/facebook/rocksdb.git $ROCKSDB_HOME @@ -24,7 +23,6 @@ brew install snappy make clean make install-static popd - ``` # install gorocksdb @@ -34,5 +32,10 @@ export CGO_CFLAGS="-I$ROCKSDB_HOME/include" export CGO_LDFLAGS="-L$ROCKSDB_HOME -lrocksdb -lstdc++ -lm -lz -lbz2 -lsnappy -llz4 -lzstd" go get github.com/tecbot/gorocksdb +``` +# compile with rocksdb ``` +cd ~/go/src/github.com/chrislusf/seaweedfs/weed +go install -tags rocksdb +```