提交 852f3416 编写于 作者: Y Yi Wang

Add clean build section

上级 ab53bea1
......@@ -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?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册