Getting Started

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.

Requirements

Bootstrap

git 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

Rebuild modes

ModeEnvUse when
Fast (default)G16_FAST_REBUILD=1Day-to-day iteration
FullG16_FULL_REBUILD=1distclean + 3-stage bootstrap
ReleaseG16_RELEASE_PROFILE=1Production prefix — LTO + PGO + field_opt
./scripts/grok16-toolchain.sh rebuild
G16_RELEASE_PROFILE=1 ./scripts/grok16-toolchain.sh rebuild

Verify & gate

./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.

Benchmarks

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