提交 fc22f8f8 编写于 作者: W wangjiawei04

fix rocksdb.cmake, cancel multiple thread compiling.

Change-Id: Iee5865db8e64ea51854b9067a484703a85dda9e1
上级 c3478214
......@@ -28,7 +28,7 @@ ExternalProject_Add(
GIT_TAG 6.2.fb
UPDATE_COMMAND ""
CONFIGURE_COMMAND ""
BUILD_COMMAND CXXFLAGS=-fPIC make -j ${NUM_OF_PROCESSOR} static_lib
BUILD_COMMAND CXXFLAGS=-fPIC make static_lib
INSTALL_COMMAND mkdir -p ${ROCKSDB_INSTALL_DIR}/lib/
&& cp ${ROCKSDB_SOURCES_DIR}/src/extern_rocksdb/librocksdb.a ${ROCKSDB_LIBRARIES}
&& cp -r ${ROCKSDB_SOURCES_DIR}/src/extern_rocksdb/include ${ROCKSDB_INSTALL_DIR}/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册