Fork自 PaddlePaddle / Paddle
#!/bin/bash set -e cd `dirname $0` m4 -DPADDLE_WITH_GPU=OFF -DPADDLE_IS_DEVEL=OFF -DPADDLE_WITH_DEMO=OFF \ Dockerfile.m4 > cpu/Dockerfile cp build.sh cpu/ m4 -DPADDLE_WITH_GPU=OFF -DPADDLE_IS_DEVEL=ON -DPADDLE_WITH_DEMO=OFF \ Dockerfile.m4 > cpu-devel/Dockerfile cp build.sh cpu-devel/ m4 -DPADDLE_WITH_GPU=OFF -DPADDLE_IS_DEVEL=ON -DPADDLE_WITH_DEMO=ON \ Dockerfile.m4 > cpu-demo/Dockerfile cp build.sh cpu-demo/ m4 -DPADDLE_WITH_GPU=ON -DPADDLE_IS_DEVEL=OFF -DPADDLE_WITH_DEMO=OFF \ Dockerfile.m4 > gpu/Dockerfile cp build.sh gpu/ m4 -DPADDLE_WITH_GPU=ON -DPADDLE_IS_DEVEL=ON -DPADDLE_WITH_DEMO=OFF \ Dockerfile.m4 > gpu-devel/Dockerfile cp build.sh gpu-devel/ m4 -DPADDLE_WITH_GPU=ON -DPADDLE_IS_DEVEL=ON -DPADDLE_WITH_DEMO=ON \ Dockerfile.m4 > gpu-demo/Dockerfile cp build.sh gpu-demo/