Skip to content

Commit cc82c27

Browse files
author
yi.wu
committed
update
1 parent 7ca0c6c commit cc82c27

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

paddle/scripts/docker/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,10 @@ This command mounts the source directory on the host into `/paddle` in the conta
108108
Users can specify the following Docker build arguments with either "ON" or "OFF" value:
109109
- `WITH_GPU`: ***Required***. Generates NVIDIA CUDA GPU code and relies on CUDA libraries.
110110
- `WITH_AVX`: ***Required***. Set to "OFF" prevents from generating AVX instructions. If you don't know what is AVX, you might want to set "ON".
111-
- `WITH_TEST`: ***Optional, default OFF***. Build unit tests binaries.
111+
- `WITH_TEST`: ***Optional, default OFF***. Build unit tests binaries. Once you've built the unit tests, you can run these test manually by the following command:
112+
```bash
113+
docker run -v $PWD:/paddle -e "WITH_GPU=OFF" -e "WITH_AVX=ON" paddle:dev sh -c "cd /paddle/build; make coverall"
114+
```
112115
- `RUN_TEST`: ***Optional, default OFF***. Run unit tests after building. You can't run unit tests without building it.
113116

114117
### Build the Production Docker Image

0 commit comments

Comments
 (0)