summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2019-10-10 17:59:18 +0000
committerAdrian Prantl <aprantl@apple.com>2019-10-10 17:59:18 +0000
commit6a07b99c90e5199eff2d84a32dd7b90ad143b565 (patch)
tree3780eec8d94a106fa0b909cf5c6c34adf2236e2e /lldb/packages/Python/lldbsuite
parent418893d8f2f33693c0aedf8fcde63167a8a3101c (diff)
downloadbcm5719-llvm-6a07b99c90e5199eff2d84a32dd7b90ad143b565.tar.gz
bcm5719-llvm-6a07b99c90e5199eff2d84a32dd7b90ad143b565.zip
Remove CC autodetection from Makefile.rules
Auto-detecting CC in Makefile.rules is no longer useful. Ever since out-of-tree builds we are better off just running lldb-dotest which sets it directly. This also makes it harder to accidentally unset CC in a Makefile. Differential Revision: https://reviews.llvm.org/D68731 llvm-svn: 374402
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/make/Makefile.rules11
1 files changed, 2 insertions, 9 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
index c8b01845c95..2ad4a486c74 100644
--- a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
+++ b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules
@@ -171,15 +171,8 @@ endif
# o cxx_compiler
# o cxx_linker
#----------------------------------------------------------------------
-CC ?= clang
-ifeq "$(CC)" "cc"
- ifneq "$(shell which clang)" ""
- CC = clang
- else ifneq "$(shell which clang-3.5)" ""
- CC = clang-3.5
- else ifneq "$(shell which gcc)" ""
- CC = gcc
- endif
+ifeq "$(CC)" ""
+$(error "C compiler is not specified. Please run tests through lldb-dotest or lit")
endif
#----------------------------------------------------------------------
OpenPOWER on IntegriCloud