From e82f2333cd665d91a01ba9727c3445a46e1e7fe9 Mon Sep 17 00:00:00 2001 From: Holm Date: Thu, 12 Mar 2026 09:50:01 +0100 Subject: [PATCH] docs(mac): update macOS setup guide This change provides a much faster path for macOS users via Homebrew. --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 11235353..4a770b5d 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,17 @@ If you don't have `clang` installed or it's too old, you'll need to download and Apple Clang doesn't come with libFuzzer, so you'll need to install a new version of LLVM from head. Follow the instructions in Installing Against New LLVM below. -#### Installing Against New LLVM +#### Using Homebrew (Recommended) +```bash +brew install llvm + +# On Apple Silicon (M1/M2/M3): +CLANG_BIN="/opt/homebrew/opt/llvm/bin/clang" pip3 install atheris + +# Note: If you encounter errors regarding setuptools or pybind11, try installing without build isolation: +pip3 install pybind11 setuptools && CLANG_BIN="..." pip3 install atheris --no-build-isolation +``` +#### Building LLVM from Source (Fallback) ```bash # Building LLVM