Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ MiniOB 需要使用:

- GCC/Clang: GCC 建议 8.3 以上,编译器需要支持 C++14 等新标准

获取MiniOB的submodule
```bash
cd `project home`
git submodule init
git submodule update
# or
git submodule update --init

# 或者通过以下方式自动初始化并更新仓库中的每一个子模块
git clone --recurse-submodules https://github.com/oceanbase/miniob.git
```

#### 安装 CMake

需要安装 3.10 或以上版本的 CMake,在 [CMake官网](https://cmake.org/download/) 下载对应系统的 CMake。
Expand Down Expand Up @@ -100,7 +112,6 @@ brew install cmake
#### 构建 Libevent

```bash
git submodule add https://github.com/libevent/libevent deps/libevent
cd deps
cd libevent
git checkout release-2.1.12-stable
Expand All @@ -114,7 +125,6 @@ sudo make install
#### 构建 Googletest

```bash
git submodule add https://github.com/google/googletest deps/googletest
cd deps
cd googletest
mkdir build
Expand All @@ -127,7 +137,6 @@ sudo make install
#### 构建 JsonCpp

```bash
git submodule add https://github.com/open-source-parsers/jsoncpp.git deps/jsoncpp
cd deps
cd jsoncpp
mkdir build
Expand Down