From 7e9596c23aa39d89f440628699405402b7b584c9 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Thu, 9 Nov 2023 18:12:41 -0800 Subject: [PATCH] doc: Clarify MacPorts clang-tidy installation --- doc/installation/source/macos.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/installation/source/macos.rst b/doc/installation/source/macos.rst index 186762349..76d5be528 100644 --- a/doc/installation/source/macos.rst +++ b/doc/installation/source/macos.rst @@ -76,6 +76,11 @@ Recommended placed at ``/opt/homebrew/opt/llvm/bin/clang-tidy`` so you may need to add this path to your ``$PATH`` variable. +.. note:: + Likewise, when using MacPorts, the ``clang-tidy`` and ``clang-format`` binaries will be + placed in ``/opt/local/libexec/llvm-XX/bin`` (where ``XX` is the installed version number + such as ``16``), so you will need to add this to your ``$PATH`` variable. + .. note:: For debugging, ``lldb`` is the default debugger for llvm. Memory checkers such as Memory Graph exist for macOS, but the ns-3 team doesn't have experience with it as a