OSDN Git Service

[CMake] Set LLVM_PATH in the runtimes build
authorPetr Hosek <phosek@chromium.org>
Thu, 30 May 2019 01:24:31 +0000 (01:24 +0000)
committerPetr Hosek <phosek@chromium.org>
Thu, 30 May 2019 01:24:31 +0000 (01:24 +0000)
commit86453b7a3975b78e2c8b78da2d077074497f738e
treef172bf4b0b1f26d48f96b9c840175fd7bb9d47c2
parent04a8fcbdb1f5470378e1246627be48410eba4acd
[CMake] Set LLVM_PATH in the runtimes build

This avoids using llvm-config for inferring various paths within the
runtimes build. We also set LLVM_INCLUDE_DIR variable that's used by
these builds and move assignment of LLVM_BINARY_DIR and LLVM_LIBRARY_DIR
to the same location for consistency.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362047 91177308-0d34-0410-b5e6-96231b3b80d8
runtimes/CMakeLists.txt