mirror of https://github.com/facebook/rocksdb.git
Adding new build script for CentOS 7 (#6617)
Summary: Updating build script for CentOS 7 Pull Request resolved: https://github.com/facebook/rocksdb/pull/6617 Reviewed By: riversand963 Differential Revision: D20879268 Pulled By: anand1976 fbshipit-source-id: 414b99e39cd77ba31373ff7aff50121d78a93d1c
This commit is contained in:
parent
a67fb4c9bd
commit
a56439bb7f
|
@ -1,9 +1,9 @@
|
|||
#!/bin/bash
|
||||
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
||||
set -e
|
||||
set -ex
|
||||
|
||||
ROCKSDB_VERSION="5.10.3"
|
||||
ZSTD_VERSION="1.1.3"
|
||||
ROCKSDB_VERSION="6.7.3"
|
||||
ZSTD_VERSION="1.4.4"
|
||||
|
||||
echo "This script configures CentOS with everything needed to build and run RocksDB"
|
||||
|
||||
|
@ -40,5 +40,6 @@ cd /usr/local/rocksdb
|
|||
chown -R vagrant:vagrant /usr/local/rocksdb/
|
||||
sudo -u vagrant make static_lib
|
||||
cd examples/
|
||||
sudo -u vagrant make all
|
||||
sudo -u vagrant ./c_simple_example
|
||||
sudo -u vagrant LD_LIBRARY_PATH=/usr/local/lib/ make all
|
||||
sudo -u vagrant LD_LIBRARY_PATH=/usr/local/lib/ ./c_simple_example
|
||||
|
||||
|
|
Loading…
Reference in New Issue