Use the new --cmakedir option to obtain LLVM_CMAKE_PATH straight from
llvm-config. Fallback to local reconstruction if llvm-config does not
support this option.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Little ping here. This is quite trivial, and since D26894 has been committed already I'd like to start adding changes like this one to all LLVM projects using llvm-config in stand-alone build.
Is there a way to write this patch so that old llvm-config's continue to work, at least for a little while until everybody upgrades?
Technically it's possible but I think it would add a lot of complexity. So if you believe that to be a major issue, I'd rather just wait a few days before applying the change. However, I don't think we really have a big market for people doing stand-alone builds ;-).
As discussed on IRC, I will commit the unconditional versions for projects that require the same version of LLVM (clang, lldb, lld) and the version with fallback for others (runtimes).