#!/usr/bin/env bash
# linux-step-3-2.sh: step 3.2 of the spectroscope Local Setup page, Linux.
# Generated by docs/local-setup/build_local_setup.py for docs/local-setup/index.html on 2026-10-14.
# The lines below are the copy blocks of this step, run in order. The page shows
# the step's other blocks (alternatives, lines you run later by hand) separately.
# Read the lines before you run this.
# Needs first: git and cmake and a C and C++ compiler. The page explains them under "before you start".
set -euo pipefail

git clone https://github.com/ggml-org/whisper.cpp.git
cd whisper.cpp
cmake -B build
cmake --build build -j --config Release
