Skip to content

Commit d7f830d

Browse files
committed
[build-script] Remove LLDB_DOTEST_CC_OPTS.
This variable is set but never used. The right way to set the test compiler is by setting the corresponding CMake variables. This is likely a remnant of the Xcode project support. (cherry picked from commit 9c690e3)
1 parent dfd2e18 commit d7f830d

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

utils/build-script-impl

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2984,18 +2984,6 @@ for host in "${ALL_HOSTS[@]}"; do
29842984
lldb_executable="${lldb_build_dir}"/bin/lldb
29852985
results_dir="${lldb_build_dir}/test-results"
29862986

2987-
# Figure out which C/C++ compiler we should use for building test inferiors.
2988-
if [[ "${LLDB_TEST_CC}" == "host-toolchain" ]]; then
2989-
# Use the host toolchain: i.e. the toolchain specified by HOST_CC
2990-
LLDB_DOTEST_CC_OPTS="-C ${HOST_CC}"
2991-
elif [[ -n "${LLDB_TEST_CC}" ]]; then
2992-
# Use exactly the compiler path specified by the user.
2993-
LLDB_DOTEST_CC_OPTS="-C ${LLDB_TEST_CC}"
2994-
else
2995-
# Use the clang that was just built in the tree.
2996-
LLDB_DOTEST_CC_OPTS="-C $(build_directory $LOCAL_HOST llvm)"/bin/clang
2997-
fi
2998-
29992987
# Options to find the just-built libddispatch and Foundation.
30002988
if [[ "$(uname -s)" == "Darwin" || "${SKIP_BUILD_FOUNDATION}" ]] ; then
30012989
DOTEST_EXTRA=""

0 commit comments

Comments
 (0)