Add clean build section

revert-3824-remove_grad_op_type
Yi Wang 8 years ago
parent ab53bea1dc
commit 852f341615

@ -56,7 +56,15 @@
有时候我们只想运行一个特定的单元测试,比如 `memory_test`,我们可以
```bash
docker run -v $PWD:/paddle paddle:dev bash -c "cd /paddle/build; ctest -V -R memory_test"
nvidia-docker run -v $PWD:/paddle paddle:dev bash -c "cd /paddle/build; ctest -V -R memory_test"
```
5. 清理
有时候我们会希望清理掉已经下载的第三方依赖以及已经编译的二进制文件。此时只需要:
```bash
rm -rf build
```
## 为什么要 Docker 呀?

@ -56,7 +56,15 @@ Nothing else. Not even Python and GCC, because you can install all build tools
Sometimes we want to run a specific unit test, say `memory_test`, we can run
```bash
docker run -v $PWD:/paddle paddle:dev bash -c "cd /paddle/build; ctest -V -R memory_test"
nvidia-docker run -v $PWD:/paddle paddle:dev bash -c "cd /paddle/build; ctest -V -R memory_test"
```
5. Clean Build.
Sometimes, we might want to clean all thirt-party dependents and built binaries. To do so, just
```bash
rm -rf build
```
## Docker, Or Not?

Loading…
Cancel
Save