You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[self-hosting E] Package self-hosted flowc + release fixed-point CI #154
Fixed-point CI done, packaging done, publishing left
Branch flowc/self-hosting-chain.
Three consecutive generation fixed-points
compiler/scripts/self_host_full.sh, run by roundtrip.sh and by CI. It bundles all of compiler/src into one ~195 KB translation unit; that binary is a complete flowc, so each generation is checked twice — it must pass flowc's own front-end self-tests and it must compile an ordinary program.
About three seconds once a driver exists. Objects rather than linked binaries for the byte compare — Mach-O carries a build UUID.
This is success metric #1 in docs/project/self-hosting.md, and it is stronger than the existing self.o == g2.o frontend check: it closes the loop on the whole compiler, driver included.
bin/flowc the Stage-A driver
bootstrap/flowc_stage_a.c the compiler, emitted by itself as one C file
build.sh cc bootstrap/flowc_stage_a.c -o bin/flowc
examples/ stage_a_sum.flow, fibonacci.flow
LICENSE, README.md
The shipped binary is a convenience. The archive rebuilds itself from the C with a C compiler and nothing else, which is what makes it installable without cloning Python sources. Checked by unpacking into a scratch directory with python/python3 shimmed to exit 127: build.sh rebuilds, and both examples compile to the right exit codes (45, 55).
Release workflow
.github/workflows/flowc-release.yml, triggered on flowc-v* tags or manual dispatch. Linux and macOS, each running: build from the bootstrap C, bootstrap_from_c.sh --verify, the self-compile audit, the three-generation fixed point, package, then unpack and use the archive as a user would. Publishes with per-file and combined checksums. No setup-python step anywhere in it.
I did not push a tag or trigger a run. Both job bodies were executed locally step by step out of the YAML instead.
Remaining
No published release yet — needs a flowc-v* tag when you want one.
No Homebrew formula.
MLIR/GPU tracks untouched, as planned.
Gates: roundtrip.sh ALL PASS; ./flow test --strict --tier2 516/516.
Activity
godofecht commentedon Aug 6, 2026
Fixed-point CI done, packaging done, publishing left
Branch
flowc/self-hosting-chain.Three consecutive generation fixed-points
compiler/scripts/self_host_full.sh, run byroundtrip.shand by CI. It bundles all ofcompiler/srcinto one ~195 KB translation unit; that binary is a complete flowc, so each generation is checked twice — it must pass flowc's own front-end self-tests and it must compile an ordinary program.About three seconds once a driver exists. Objects rather than linked binaries for the byte compare — Mach-O carries a build UUID.
This is success metric #1 in
docs/project/self-hosting.md, and it is stronger than the existingself.o == g2.ofrontend check: it closes the loop on the whole compiler, driver included.The distributable
compiler/scripts/package_flowc.sh→dist/flowc-<version>-<os>-<arch>.tar.gz:The shipped binary is a convenience. The archive rebuilds itself from the C with a C compiler and nothing else, which is what makes it installable without cloning Python sources. Checked by unpacking into a scratch directory with
python/python3shimmed to exit 127:build.shrebuilds, and both examples compile to the right exit codes (45, 55).Release workflow
.github/workflows/flowc-release.yml, triggered onflowc-v*tags or manual dispatch. Linux and macOS, each running: build from the bootstrap C,bootstrap_from_c.sh --verify, the self-compile audit, the three-generation fixed point, package, then unpack and use the archive as a user would. Publishes with per-file and combined checksums. Nosetup-pythonstep anywhere in it.I did not push a tag or trigger a run. Both job bodies were executed locally step by step out of the YAML instead.
Remaining
flowc-v*tag when you want one.Gates:
roundtrip.shALL PASS;./flow test --strict --tier2516/516.fix+docs: close resolved issues; ILP32 sizeof_ptr; Homebrew; linguist…
feat: if-expressions + flowc-v0.10.0 closes self-hosting E (#154) (#262)