Skip to content

Commit

Permalink
Update libs
Browse files Browse the repository at this point in the history
  • Loading branch information
linxGnu committed Mar 31, 2021
1 parent 745de8f commit 1b79e88
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ cd $BUILD_PATH && wget https://github.com/facebook/zstd/archive/v${zstd_version}
-DCMAKE_POSITION_INDEPENDENT_CODE=ON -DZSTD_ZLIB_SUPPORT=ON -DZSTD_LZMA_SUPPORT=OFF -DCMAKE_BUILD_TYPE=Release .. && make -j$(nproc) install && \
cd $BUILD_PATH && rm -rf * && ldconfig

rocksdb_version="6.16.3"
rocksdb_version="6.16.4"
cd $BUILD_PATH && wget https://github.com/facebook/rocksdb/archive/v${rocksdb_version}.tar.gz && tar xzf v${rocksdb_version}.tar.gz && cd rocksdb-${rocksdb_version}/ && \
mkdir -p build_place && cd build_place && cmake -DCMAKE_BUILD_TYPE=Release $CMAKE_REQUIRED_PARAMS -DCMAKE_PREFIX_PATH=$INSTALL_PREFIX -DWITH_TESTS=OFF -DWITH_GFLAGS=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 \
Expand Down
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 16
#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/liblz4.a
Binary file not shown.
Binary file modified dist/linux_amd64/lib/librocksdb.a
Binary file not shown.
Binary file modified dist/linux_amd64/lib/libsnappy.a
Binary file not shown.
Binary file modified dist/linux_amd64/lib/libz.a
Binary file not shown.

0 comments on commit 1b79e88

Please sign in to comment.