提交 50f812c6 编写于 作者: T Todd Sedano 提交者: Todd Sedano

Updates readme with correct order of steps

- make distclean can not be called before configure
上级 239d5672
......@@ -50,10 +50,10 @@ building, see the README at the following repositories:
```
git clone https://github.com/greenplum-db/gp-xerces
mkdir gp-xerces/build
pushd gp-xerces/build
cd gp-xerces/build
../configure
make install
popd
cd ../..
```
1. ORCA requires [CMake](https://cmake.org) and
......@@ -65,10 +65,10 @@ building, see the README at the following repositories:
```
git clone https://github.com/greenplum-db/gporca
mkdir gporca/build
pushd gporca/build
cd gporca/build
cmake -GNinja ..
ninja install
popd
cd ../..
```
**Note**: Get the latest ORCA `git pull --ff-only` if you see an error message like below:
```
......@@ -89,9 +89,6 @@ building, see the README at the following repositories:
### Build the database
```
# Clean environment
make distclean
# Configure build environment to install at /usr/local/gpdb
./configure --with-perl --with-python --with-libxml --prefix=/usr/local/gpdb
......@@ -139,6 +136,11 @@ To turn ORCA off and use legacy planner for query optimization:
set optimizer=off;
```
If you want to clean all generated files
```
make distclean
```
## Running tests
* The default regression tests
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册