Skip to content

Commit 65f656e

Browse files
author
yi.wu
committed
fix nightly build and build script error
1 parent 7655e4c commit 65f656e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/scripts/paddle_build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ function cmake_gen() {
105105
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
106106
-DWITH_FLUID_ONLY=${WITH_FLUID_ONLY:-OFF}
107107
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON
108-
-DWITH_CONTRIB=ON
108+
-DWITH_CONTRIB=${WITH_CONTRIB:-ON}
109109
========================================
110110
EOF
111111
# Disable UNITTEST_USE_VIRTUALENV in docker because
@@ -132,7 +132,7 @@ EOF
132132
-DCMAKE_MODULE_PATH=/opt/rocm/hip/cmake \
133133
-DWITH_FLUID_ONLY=${WITH_FLUID_ONLY:-OFF} \
134134
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
135-
-DWITH_CONTRIB=ON
135+
-DWITH_CONTRIB=${WITH_CONTRIB:-ON}
136136
}
137137

138138
function abort(){

0 commit comments

Comments
 (0)