Skip to content

Commit 278045c

Browse files
committed
configure: Remove some lldb-specific logic
All of this should already be vendored in rustbuild if necessary or otherwise it's just not used.
1 parent 6fbe6de commit 278045c

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

configure

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -834,41 +834,6 @@ then
834834
fi
835835
fi
836836

837-
if [ -n "$CFG_LLDB" ]
838-
then
839-
# Store LLDB's version
840-
CFG_LLDB_VERSION=$($CFG_LLDB --version 2>/dev/null | head -1)
841-
putvar CFG_LLDB_VERSION
842-
843-
# If CFG_LLDB_PYTHON_DIR is not already set from the outside and valid, try to read it from
844-
# LLDB via the -P commandline options.
845-
if [ -z "$CFG_LLDB_PYTHON_DIR" ] || [ ! -d "$CFG_LLDB_PYTHON_DIR" ]
846-
then
847-
CFG_LLDB_PYTHON_DIR=$($CFG_LLDB -P)
848-
849-
# If CFG_LLDB_PYTHON_DIR is not a valid directory, set it to something more readable
850-
if [ ! -d "$CFG_LLDB_PYTHON_DIR" ]
851-
then
852-
CFG_LLDB_PYTHON_DIR="LLDB_PYTHON_DIRECTORY_NOT_FOUND"
853-
fi
854-
855-
putvar CFG_LLDB_PYTHON_DIR
856-
fi
857-
fi
858-
859-
# LLDB tests on OSX require /usr/bin/python, not something like Homebrew's
860-
# /usr/local/bin/python. We're loading a compiled module for LLDB tests which is
861-
# only compatible with the system.
862-
case $CFG_BUILD in
863-
*-apple-darwin)
864-
CFG_LLDB_PYTHON=/usr/bin/python
865-
;;
866-
*)
867-
CFG_LLDB_PYTHON=$CFG_PYTHON
868-
;;
869-
esac
870-
putvar CFG_LLDB_PYTHON
871-
872837
# Do some sanity checks if running on buildbot
873838
# (these env vars are set by rust-buildbot)
874839
if [ -n "$RUST_DIST_SERVER" -a -n "$ALLOW_NONZERO_RLIMIT_CORE" ]; then

0 commit comments

Comments
 (0)