Skip to content

Commit

Permalink
Adapt rocksdb 6.6.4 (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
linxGnu committed Feb 3, 2020
1 parent e720d0c commit 467d1dd
Show file tree
Hide file tree
Showing 14 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@
libs/bzip2/bzip2
libs/bzip2/bzip2.a
libs/bzip2/libbz2.a
build/*
.vscode/c_cpp_properties.json
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ cd $BUILD_PATH && wget https://github.com/facebook/zstd/releases/download/v1.4.4
$CMAKE_REQUIRED_PARAMS -DZSTD_ZLIB_SUPPORT=ON -DZSTD_LZMA_SUPPORT=OFF -DCMAKE_BUILD_TYPE=Release .. && make -j16 install && \
cd $BUILD_PATH && rm -rf *

cd $BUILD_PATH && wget https://github.com/facebook/rocksdb/archive/v6.6.3.tar.gz && tar xzf v6.6.3.tar.gz && cd rocksdb-6.6.3/ && \
cd $BUILD_PATH && wget https://github.com/facebook/rocksdb/archive/v6.6.4.tar.gz && tar xzf v6.6.4.tar.gz && cd rocksdb-6.6.4/ && \
cp $DIRECTORY/CMakeLists.txt ./ && \
mkdir -p build_place && cd build_place && cmake -DCMAKE_BUILD_TYPE=Release $CMAKE_REQUIRED_PARAMS -DCMAKE_PREFIX_PATH=$INSTALL_PREFIX -DWITH_TESTS=OFF -DWITH_BENCHMARK_TOOLS=OFF -DWITH_TOOLS=OFF \
-DWITH_MD_LIBRARY=OFF -DWITH_RUNTIME_DEBUG=OFF -DROCKSDB_BUILD_SHARED=OFF -DWITH_SNAPPY=ON -DWITH_LZ4=ON -DWITH_ZLIB=ON -DWITH_ZSTD=ON -DWITH_BZ2=OFF -WITH_GFLAGS=OFF .. && make -j16 install/strip && \
Expand Down
2 changes: 1 addition & 1 deletion dist/darwin_amd64/include/rocksdb/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#define ROCKSDB_MAJOR 6
#define ROCKSDB_MINOR 6
#define ROCKSDB_PATCH 3
#define ROCKSDB_PATCH 4

// Do not use these. We made the mistake of declaring macros starting with
// double underscore. Now we have to live with our choice. We'll deprecate these
Expand Down
Binary file modified dist/darwin_amd64/lib/liblz4.a
Binary file not shown.
Binary file modified dist/darwin_amd64/lib/librocksdb.a
Binary file not shown.
Binary file modified dist/darwin_amd64/lib/libsnappy.a
Binary file not shown.
Binary file modified dist/darwin_amd64/lib/libz.a
Binary file not shown.
Binary file modified dist/darwin_amd64/lib/libzstd.a
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/linux_amd64/include/rocksdb/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#define ROCKSDB_MAJOR 6
#define ROCKSDB_MINOR 6
#define ROCKSDB_PATCH 3
#define ROCKSDB_PATCH 4

// Do not use these. We made the mistake of declaring macros starting with
// double underscore. Now we have to live with our choice. We'll deprecate these
Expand Down
Binary file modified dist/linux_amd64/lib/libz.a
Binary file not shown.
Binary file modified dist/linux_amd64/lib64/liblz4.a
Binary file not shown.
Binary file modified dist/linux_amd64/lib64/librocksdb.a
Binary file not shown.
Binary file modified dist/linux_amd64/lib64/libsnappy.a
Binary file not shown.
Binary file modified dist/linux_amd64/lib64/libzstd.a
Binary file not shown.

0 comments on commit 467d1dd

Please sign in to comment.