Grok16 5.2.0 ships a unified g16 driver. One binary compiles C and C++; backends live in libexec/grok16/. g++16 is a compat symlink.
gcc/g++, git, cmake, Python 3 / GPY-16vendor/, build/, prefixgit clone https://github.com/ZacharyGeurts/Grok16.git
cd Grok16
git checkout v5.2.0
export G16_PREFIX="$(pwd)"
./scripts/grok16-toolchain.sh bootstrap
./scripts/grok16-toolchain.sh rebuild
./scripts/grok16-toolchain.sh verify
| Mode | Env | Use when |
|---|---|---|
| Fast (default) | G16_FAST_REBUILD=1 | Day-to-day iteration |
| Full | G16_FULL_REBUILD=1 | distclean + 3-stage bootstrap |
| Release | G16_RELEASE_PROFILE=1 | Production prefix — LTO + PGO + field_opt |
./scripts/grok16-toolchain.sh rebuild
G16_RELEASE_PROFILE=1 ./scripts/grok16-toolchain.sh rebuild
./scripts/grok16-toolchain.sh verify
./scripts/grok16-toolchain.sh test-battery-expert
./scripts/grok16-toolchain.sh test-battery-release
./scripts/grok16-toolchain.sh test-battery-belt
See Batteries for tier breakdown.
export G16_BELT_PROFILE=belt_2_0
./scripts/grok16-toolchain.sh bench-triad
./scripts/grok16-toolchain.sh field-bench
./scripts/grok16-toolchain.sh bench-all