You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This command mounts the source directory on the host into `/paddle` in the container, so the default entry point of `paddle:dev`, `build.sh`, could build the source code with possible local changes. When it writes to `/paddle/build` in the container, it writes to `$PWD/build` on the host indeed.
102
101
103
102
`build.sh` builds the following:
104
103
105
104
- PaddlePaddle binaries,
106
-
-`$PWD/dist/<cpu|gpu|cpu-noavx|gpu-noavx>/paddle-<version>.deb` for production installation, and
105
+
-`$PWD/build/paddle-<version>.deb` for production installation, and
107
106
-`$PWD/build/Dockerfile`, which builds the production Docker image.
108
107
109
108
Users can specify the following Docker build arguments with either "ON" or "OFF" value:
110
109
-`WITH_GPU`: ***Required***. Generates NVIDIA CUDA GPU code and relies on CUDA libraries.
111
110
-`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".
112
111
-`TEST`: ***Optional, default OFF***. Build unit tests and run them after building.
113
-
-`BUILD_AND_INSTALL`: ***Optional, default ON***. Run `make` and `make install`.
114
-
-`DELETE_BUILD_CACHE`: ***Optional, default ON***. If set to "ON", the building script will delete, download, and re-build third party libraries.
0 commit comments