]> granicus.if.org Git - clang/commit
With CLANG_ENABLE_STATIC_ANALYZER=0, link clang properly and skip clang-check.
authorJordan Rose <jordan_rose@apple.com>
Wed, 3 Jul 2013 16:20:29 +0000 (16:20 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 3 Jul 2013 16:20:29 +0000 (16:20 +0000)
commitd771b447e2bf44830b6887b3c9a9ec433fa311c5
tree0e5f8ab0293ed965087d79124028587ec882aa43
parent9e0b647bccb9e22936e1dacbe33ec7f941764d87
With CLANG_ENABLE_STATIC_ANALYZER=0, link clang properly and skip clang-check.

Previously, the CMake build still tried to link clang against the static
analyzer libraries, even if CLANG_ENABLE_STATIC_ANALYZER was off.
Furthermore, clang-check depends on the analyzer, so it should be disabled
(in both CMake and configure builds).

In theory, clang-check could be made to conditionally include analyzer
support (like clang itself), but for now this at least gets a CMake ALL_BUILD
working.

Patch by Stephen Kelly, modified by me.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185548 91177308-0d34-0410-b5e6-96231b3b80d8
lib/FrontendTool/CMakeLists.txt
tools/CMakeLists.txt
tools/Makefile