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