diff --git a/BCLOUD b/BCLOUD index 416c18e81fbf46ad6f3664f269aa4b31175d41f7..2c61e721bf8c72ab597b24af3f0a4e60a1a2ef7c 100644 --- a/BCLOUD +++ b/BCLOUD @@ -14,7 +14,7 @@ CONFIGS('baidu/third-party/gflags@v2.0.0@git_branch') CONFIGS('baidu/third-party/glog@v0.3.x@git_branch') CONFIGS('baidu/third-party/opencv@master@git_branch') CONFIGS('baidu/third-party/rocksdb@6.2.fb@git_branch') -CONFIGS('baidu/third-party/snappy@master@git_branch') +CONFIGS('baidu/third-party/snappy@v1.1.7@git_branch') PROTOC('third-64/protobuf/output/bin/protoc') CONFIGS('baidu/paddlepaddle/paddle@v1.3.0_pb32@git_branch') diff --git a/kvdb/BCLOUD b/kvdb/BCLOUD index b33f2df225baf5c6b87933017def9caa17e91991..000f40aae8905a265587bd4a39927029ba8d8268 100644 --- a/kvdb/BCLOUD +++ b/kvdb/BCLOUD @@ -4,14 +4,16 @@ WORKROOT('../../../../') CXXFLAGS('-g -pipe -W -Wall -fPIC -std=c++11') -LDFLAGS('-lpthread -lbz2 -lsnappy') +LDFLAGS('-lpthread -lbz2') ImportConfigsFrom('..') INCPATHS('$INC') INCPATHS('./include') +INCPATHS('$OUT_ROOT/baidu/third-party/rocksdb/output/include') -LIBS('$OUT_ROOT/baidu//third-party/rocksdb/output/lib/librocksdb.a') +LIBS('$OUT_ROOT/baidu/third-party/rocksdb/output/lib/librocksdb.a') +LIBS('$OUT_ROOT/baidu/third-party/snappy/output/lib/libsnappy.a') cpp_base_source_files = [ './src/mock_param_dict_impl.cpp', './src/paddle_rocksdb.cpp', './src/aram_dict_mgr_impl.cpp', './src/rockskvdb_impl.cpp'