diff options
| author | Alp Toker <alp@nuanti.com> | 2014-06-02 01:40:04 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2014-06-02 01:40:04 +0000 |
| commit | 125be8465d3a83e3ed3e9ed1813d7361729ebf9b (patch) | |
| tree | 5547dbf5f3068e594fbb1f284949efb07aedbd5a /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | aaffd7060995c7679e9cb71bb4b941edd59b5b59 (diff) | |
GraphWriter: detect graph viewer programs at runtime
Replace the crufty build-time configure checks for program paths with
equivalent runtime logic.
This lets users install graphing tools as needed without having to reconfigure
and rebuild LLVM, while eliminating a long chain of inappropriate compile
dependencies that included GUI programs and the windowing system.
Additional features:
* Support the OS X 'open' command to view graphs generated by any of the
Graphviz utilities. This is an alternative to the Graphviz OS X UI which is
no longer available on Mountain Lion.
* Produce informative log output upon failure to indicate which programs can
be installed to view graphs.
Ping me if this doesn't work for your particular environment.
llvm-svn: 210001
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
