Default to using in-tree clang for building test executables
authorPavel Labath <labath@google.com>
Fri, 27 Oct 2017 02:24:04 +0000 (02:24 +0000)
committerPavel Labath <labath@google.com>
Fri, 27 Oct 2017 02:24:04 +0000 (02:24 +0000)
commit7e17fc5e09e41a107caf72f093886d1735636278
tree2f581c8ef9d5fe607b9409bc4094b8478e0b4dc8
parent6908fdb0eb30a04a9acd13969ab84edeca9933ef
Default to using in-tree clang for building test executables

Summary:
Using the in-tree clang should be the default test configuration as that
is the one compiler that we can be sure everyone has (better
reproducibility of test results). Also, it should hopefully reduce the
impact of pr35040.

This also reduces the number of settings which control the compiler
used. LLDB_TEST_C_COMPILER is used for C files and
LLDB_TEST_CXX_COMPILER for C++ files. Both of the settings default to
the in-tree clang.

Reviewers: zturner

Subscribers: mgorny, davide, lldb-commits

Differential Revision: https://reviews.llvm.org/D39215

llvm-svn: 316728
lldb/CMakeLists.txt
lldb/lit/CMakeLists.txt
lldb/lit/lit.site.cfg.in
lldb/test/CMakeLists.txt