File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,18 @@ function cmake_gen() {
82
82
else
83
83
exit 1
84
84
fi
85
- # TODO: qiyang add python3 part here
85
+ elif [ " $1 " == " cp35-cp35m" ]; then
86
+ if [ -d " /Library/Frameworks/Python.framework/Versions/3.5" ]; then
87
+ export LD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/3.5/lib/
88
+ export DYLD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/3.5/lib/
89
+ export PATH=/Library/Frameworks/Python.framework/Versions/3.5/bin/:${PATH}
90
+ PYTHON_FLAGS=" -DPYTHON_EXECUTABLE:FILEPATH=/Library/Frameworks/Python.framework/Versions/3.5/bin/python3
91
+ -DPYTHON_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.5/include/python3.5m/
92
+ -DPYTHON_LIBRARY:FILEPATH=/Library/Frameworks/Python.framework/Versions/3.5/lib/libpython3.5m.dylib"
93
+ WITH_FLUID_ONLY=${WITH_FLUID_ONLY:- ON}
94
+ else
95
+ exit 1
96
+ fi
86
97
fi
87
98
else
88
99
if [ " $1 " != " " ]; then
You can’t perform that action at this time.
0 commit comments