diff --git a/paddle/scripts/docker/build.sh b/paddle/scripts/docker/build.sh index daea09d3faf08cfd77e92707bc41768cd437f6f3..7fbf2821afa418a68b191e61bacd5255058a9f12 100755 --- a/paddle/scripts/docker/build.sh +++ b/paddle/scripts/docker/build.sh @@ -19,7 +19,7 @@ if [[ ${BUILD_AND_INSTALL:-ON} == 'ON' ]]; then mkdir -p /paddle/build # -p means no error if exists cd /paddle/build cmake .. \ - -DWITH_DOC=${WITH_GPU:-OFF} \ + -DWITH_DOC=${WITH_DOC:-OFF} \ -DWITH_GPU=${WITH_GPU:-OFF} \ -DWITH_AVX=${WITH_AVX:-OFF} \ -DWITH_SWIG_PY=ON \