File tree Expand file tree Collapse file tree 1 file changed +0
-35
lines changed Expand file tree Collapse file tree 1 file changed +0
-35
lines changed Original file line number Diff line number Diff line change @@ -835,41 +835,6 @@ then
835835 fi
836836fi
837837
838- if [ -n " $CFG_LLDB " ]
839- then
840- # Store LLDB's version
841- CFG_LLDB_VERSION=$( $CFG_LLDB --version 2> /dev/null | head -1)
842- putvar CFG_LLDB_VERSION
843-
844- # If CFG_LLDB_PYTHON_DIR is not already set from the outside and valid, try to read it from
845- # LLDB via the -P commandline options.
846- if [ -z " $CFG_LLDB_PYTHON_DIR " ] || [ ! -d " $CFG_LLDB_PYTHON_DIR " ]
847- then
848- CFG_LLDB_PYTHON_DIR=$( $CFG_LLDB -P)
849-
850- # If CFG_LLDB_PYTHON_DIR is not a valid directory, set it to something more readable
851- if [ ! -d " $CFG_LLDB_PYTHON_DIR " ]
852- then
853- CFG_LLDB_PYTHON_DIR=" LLDB_PYTHON_DIRECTORY_NOT_FOUND"
854- fi
855-
856- putvar CFG_LLDB_PYTHON_DIR
857- fi
858- fi
859-
860- # LLDB tests on OSX require /usr/bin/python, not something like Homebrew's
861- # /usr/local/bin/python. We're loading a compiled module for LLDB tests which is
862- # only compatible with the system.
863- case $CFG_BUILD in
864- * -apple-darwin)
865- CFG_LLDB_PYTHON=/usr/bin/python
866- ;;
867- * )
868- CFG_LLDB_PYTHON=$CFG_PYTHON
869- ;;
870- esac
871- putvar CFG_LLDB_PYTHON
872-
873838# Do some sanity checks if running on buildbot
874839# (these env vars are set by rust-buildbot)
875840if [ -n " $RUST_DIST_SERVER " -a -n " $ALLOW_NONZERO_RLIMIT_CORE " ]; then
You can’t perform that action at this time.
0 commit comments