[PATCH] D33281: [Doc] Update how to install graphviz on macOS

Wei-Ren Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 17 08:13:07 PDT 2017


chenwj created this revision.

The link [1] mentioned on the document is no longer maintained. Installing graphviz through MacPorts works, and I think it's easier for most people who want to view Dag on macOS.

[1] http://www.pixelglow.com/graphviz/


https://reviews.llvm.org/D33281

Files:
  docs/ProgrammersManual.rst


Index: docs/ProgrammersManual.rst
===================================================================
--- docs/ProgrammersManual.rst
+++ docs/ProgrammersManual.rst
@@ -1289,13 +1289,10 @@
 
 Getting this to work requires a small amount of setup.  On Unix systems
 with X11, install the `graphviz <http://www.graphviz.org>`_ toolkit, and make
-sure 'dot' and 'gv' are in your path.  If you are running on Mac OS X, download
-and install the Mac OS X `Graphviz program
-<http://www.pixelglow.com/graphviz/>`_ and add
-``/Applications/Graphviz.app/Contents/MacOS/`` (or wherever you install it) to
-your path. The programs need not be present when configuring, building or
-running LLVM and can simply be installed when needed during an active debug
-session.
+sure 'dot' and 'gv' are in your path.  If you are running on macOS, install the
+'graphviz-gui' through `MacPorts <https://www.macports.org>`_. The programs need
+not be present when configuring, building or running LLVM and can simply be
+installed when needed during an active debug session.
 
 ``SelectionDAG`` has been extended to make it easier to locate *interesting*
 nodes in large complex graphs.  From gdb, if you ``call DAG.setGraphColor(node,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33281.99305.patch
Type: text/x-patch
Size: 1213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170517/4b1e1ccd/attachment.bin>


More information about the llvm-commits mailing list