forked from OSchip/llvm-project
Fix the comments about LLDB_DISABLE_PYTHON in the python swig shell scripts to be more clear.
llvm-svn: 157506
This commit is contained in:
parent
8ed0749a34
commit
de22182b33
|
@ -25,7 +25,10 @@ swig_python_wrapper=${SRC_ROOT}/scripts/Python/python-wrapper.swig
|
|||
swig_python_typemaps=${SRC_ROOT}/scripts/Python/python-typemaps.swig
|
||||
|
||||
if [ $LLDB_DISABLE_PYTHON = "1" ] ; then
|
||||
# LLDB_DISABLE_PYTHON is set, which currently means iOS cross build where python is disabled
|
||||
# We don't want Python for this build, but touch the output file so we don't have to
|
||||
# conditionalize the build on this as well.
|
||||
# Note, at present iOS doesn't have Python, so if you're building for iOS be sure to
|
||||
# set LLDB_DISABLE_PYTHON to 1.
|
||||
rm -rf ${swig_output_file}
|
||||
touch ${swig_output_file}
|
||||
|
||||
|
|
|
@ -33,8 +33,10 @@ CONFIG_BUILD_DIR=$3
|
|||
PYTHON_INSTALL_DIR=$4
|
||||
debug_flag=$5
|
||||
|
||||
# Make sure LLDB_DISABLE_PYTHON is not set, since if it is this is an iOS build where python
|
||||
# is disabled
|
||||
# If we don't want Python, then just do nothing here.
|
||||
# Note, at present iOS doesn't have Python, so if you're building for iOS be sure to
|
||||
# set LLDB_DISABLE_PYTHON to 1.
|
||||
|
||||
if [ ! $LLDB_DISABLE_PYTHON = "1" ] ; then
|
||||
|
||||
if [ -n "$debug_flag" -a "$debug_flag" == "-debug" ]
|
||||
|
|
Loading…
Reference in New Issue