Skip to content

Commit c6a5326

Browse files
authored
Merge pull request #11000 from typhoonzero/fix_build_scripts_nightly_build
fix nightly build and build script error
2 parents d92a75b + 65f656e commit c6a5326

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)