[PATCH] [cmake] Unbreak LLVM-Config.cmake / llvm_expand_dependencies

Peter Zotov whitequark at whitequark.org
Mon Nov 3 14:03:24 PST 2014


Hi chandlerc,

The algorithm for sorting libraries in topological order, as
previously implemented, had a few issues:
  * It didn't make any sense.
  * It didn't actually sort libraries in topological order.
  * It hung on some inputs, e.g. "LLVMipo".

This commit replaces the old algorithm with a straightforward port
from llvm-config.cpp.

http://reviews.llvm.org/D6099

Files:
  cmake/modules/LLVM-Config.cmake
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6099.15731.patch
Type: text/x-patch
Size: 2260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141103/55fe2e97/attachment.bin>


More information about the llvm-commits mailing list