Skip to content

Commit a71218c

Browse files
authored
Merge pull request #1668 from typhoonzero/buildreleasefix
Build default use cmake release
2 parents 9ffc38e + dfe6450 commit a71218c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

paddle/scripts/docker/build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ if [[ ${BUILD_AND_INSTALL:-OFF} == 'ON' ]]; then
4848
rm -rf * && rm -rf ../third_party
4949
fi
5050
cmake .. \
51+
-DCMAKE_BUILD_TYPE=Release \
5152
-DWITH_DOC=${WITH_DOC:-OFF} \
5253
-DWITH_GPU=${WITH_GPU:-OFF} \
5354
-DWITH_AVX=${WITH_AVX:-OFF} \

0 commit comments

Comments
 (0)