From dfe6450648ae9476aa6d9035f380b063a130c4e6 Mon Sep 17 00:00:00 2001 From: "yi.wu" Date: Tue, 21 Mar 2017 17:10:48 +0800 Subject: [PATCH] build use release --- paddle/scripts/docker/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/paddle/scripts/docker/build.sh b/paddle/scripts/docker/build.sh index c44874eede0..3058cd9033a 100755 --- a/paddle/scripts/docker/build.sh +++ b/paddle/scripts/docker/build.sh @@ -48,6 +48,7 @@ if [[ ${BUILD_AND_INSTALL:-OFF} == 'ON' ]]; then rm -rf * && rm -rf ../third_party fi cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ -DWITH_DOC=${WITH_DOC:-OFF} \ -DWITH_GPU=${WITH_GPU:-OFF} \ -DWITH_AVX=${WITH_AVX:-OFF} \ -- GitLab