Homebrew Tap for Valgrind macOS
First, tap this repository:
brew tap LouisBrunner/valgrindThen, install valgrind:
brew install --HEAD LouisBrunner/valgrind/valgrindYou can now use valgrind as normal.
Any brew upgrade will now correctly rebuild the latest LouisBrunner/valgrind instead of the upstream one (which doesn't support latest macOS versions).
brew upgrade --fetch-HEAD LouisBrunner/valgrind/valgrind