[llvm-commits] [PATCH] Teach cmake to detect the presence of Graphviz and friends
Jakob Stoklund Olesen
stoklund at 2pi.dk
Fri Apr 3 14:47:24 PDT 2009
* Add a new cmake macro llvm_find_program that searches for a program
and sets HAVE_FOO and LLVM_PATH_FOO variables.
* Use llvm_find_program to find Graphviz, dot, dotty, and gv.
* Add a few header file and symbol checks related to starting sub-
processes and back traces.
* Update config.h.cmake to include new checks.
With this patch, llc built by cmake supports the -view-dag-* options
and it can generate a stack trace on aborts.
Tested on Mac OS X 10.5.6 with cmake 2.6 generating makefiles
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake-extras.patch
Type: application/octet-stream
Size: 5153 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090403/0ed32ec3/attachment.obj>
-------------- next part --------------
More information about the llvm-commits
mailing list