Installing on macOS¶
bash scripts/setup/macos.sh # CPU-only, Intel or Apple silicon
INSTALL_LINTERS=1 bash scripts/setup/macos.sh # + Homebrew LLVM (clang-tidy/clang-format)
Caveats¶
- CUDA is unsupported on macOS by NVIDIA. Use Linux or Windows for CUDA work.
- SYCL via Intel oneAPI is unsupported on Apple Silicon; the setup script blocks it.
- Intel QSV is unsupported on macOS. Intel's oneVPL / Media SDK drivers ship for Linux and Windows only — the QSV codec adapters (
h264_qsv,hevc_qsv,av1_qsv) intools/vmaf-tune/will fail the FFmpeg-encoder probe on macOS regardless of host CPU vendor. Useh264_videotoolbox/hevc_videotoolboxfor hardware-accelerated encode on macOS instead. Verified 2026-05-08: Intel does not list macOS as a supported OS on the oneVPL / VPL GPU runtime project page. - On Apple Silicon, Apple's built-in
clanglacksclang-tidy/clang-format. The setup script installsllvmfrom Homebrew and exports its bin dir intoPATH.
Manual install¶
brew install meson ninja pkg-config nasm doxygen
brew install --with-toolchain llvm # clang-tidy, clang-format, clangd
Then append to your shell RC: