]> granicus.if.org Git - clang/commit
[analyzer] Improved cmake configuration for Z3
authorEnrico Steffinlongo <enrico.steffinlongo@gmail.com>
Sat, 13 Oct 2018 19:45:48 +0000 (19:45 +0000)
committerEnrico Steffinlongo <enrico.steffinlongo@gmail.com>
Sat, 13 Oct 2018 19:45:48 +0000 (19:45 +0000)
commitb4d73f48e2bec73dcfc2dbede2acc39ce6aee93b
tree0e0d49051b5ff12d46e84153ea6ff8a5e8969057
parent8693e0ee6a25277d61bd482455d74a5089ea2add
[analyzer] Improved cmake configuration for Z3

Summary:
Enhanced support for Z3 in the cmake configuration of clang; now it is possible to specify any arbitrary Z3 install prefix (CLANG_ANALYZER_Z3_PREFIX) to cmake with lib (or bin) and include folders. Before the patch only in cmake default locations
were searched (https://cmake.org/cmake/help/v3.4/command/find_path.html).

Specifying any CLANG_ANALYZER_Z3_PREFIX will force also CLANG_ANALYZER_BUILD_Z3 to ON.

Removed also Z3 4.5 version requirement since it was not checked, and now Clang works with Z3 4.7

Reviewers: NoQ, george.karpenkov, mikhail.ramalho

Reviewed By: george.karpenkov

Subscribers: rnkovacs, NoQ, esteffin, george.karpenkov, delcypher, ddcc, mgorny, xazax.hun, szepet, a.sidorin, Szelethus

Tags: #clang

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@344464 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
cmake/modules/FindZ3.cmake
lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp