Skip to content

Commit d26d356

Browse files
committed
Make python3 only build in fluid only
1 parent 44c7beb commit d26d356

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

paddle/scripts/paddle_build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ function cmake_gen() {
9090
PYTHON_FLAGS="-DPYTHON_EXECUTABLE:FILEPATH=/Library/Frameworks/Python.framework/Versions/3.5/bin/python3
9191
-DPYTHON_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m/
9292
-DPYTHON_LIBRARY:FILEPATH=/Library/Frameworks/Python.framework/Versions/3.5/lib/libpython3.5m.dylib"
93+
WITH_FLUID_ONLY=${WITH_FLUID_ONLY:-ON}
9394
else
9495
exit 1
9596
fi

0 commit comments

Comments
 (0)