Minimum steps to use Grok16 as the C/C++ toolchain for Field stack projects.
verify and field-bench pass.G16_PREFIX (install prefix with bin/g++16).cmake/grok16-toolchain.cmake.g16-field-mandate.cmake on all field targets.parity before push.Default: gnu17 (G16_C_STD). Compile with unified g16 on .c sources — no separate C driver command.
Default: gnu++26 (G16_CXX_STD). World_Redata: field_g16.hh requires __cplusplus >= 202400.
| Project type | Profile |
|---|---|
| FieldX86 / entropy / NEXUS CPU | field_opt |
| Matrix scoring | ai |
| CANVAS dispatch kernels | field_compute |
| AMOURANTHRTX CPU prep | vulkan_rtx |
-std=gnu++26 -fcontracts where contracts are required.core::read_file_bounded (World_Redata pattern).cmake -S . -B build \
-DCMAKE_TOOLCHAIN_FILE=$GROK16_ROOT/cmake/grok16-toolchain.cmake \
-DCMAKE_PROJECT_INCLUDE=$GROK16_ROOT/cmake/grok16-profile-field-opt.cmake