[Lldb-commits] [PATCH] D15067: Design building out of sources
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 1 01:50:16 PST 2015
labath added a comment.
In http://reviews.llvm.org/D15067#298902, @Eugene.Zelenko wrote:
> But it's necessary to pass path from CMake command line argument to find_program after PATHS. Another problem if default OS location (if Clang installed and of old version) will be returned instead of build one.
I don't know what would be the idiomatic cmake-fu to achieve that, but I'd just pass the the full path to the llvm-config binary, including the name. This way, we could also handle cases when the binary has a version suffix (e.g., debian likes to ship the binary as llvm-config-3.x).
Repository:
rL LLVM
http://reviews.llvm.org/D15067
More information about the lldb-commits
mailing list