Skip to content

Phase D slice 1: pip-free flowc compile CI - #197

Merged
godofecht merged 2 commits into
mainfrom
feature/flowc-phase-d
Aug 5, 2026
Merged

godofecht merged 2 commits into
mainfrom
feature/flowc-phase-d

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Summary

  • Phase D (partial): flowc-compile CI job downloads a Stage-A driver artifact and compiles hello_world / fibonacci with no pip install.
  • Bootstrap uses setup-python-bare (interpreter only) for Gen0 roundtrip; still needs Python once, but not locked deps.
  • Docs: self-hosting Phase D status + python-in-flow.md host-plugin boundary (FLOW_HOST=python for DSLs/LSP/MLIR).

Coordination

Deliberately does not touch src/flow/*.py / lib/stdlib/autodiff.flow (another agent on pattern-adoption).

Test plan

  • flowc-bootstrap green without pip install -r requirements.lock
  • flowc-compile (no pip) green using uploaded flowc artifact
  • ci-ok requires flowc-compile when compiler/workflow paths change

Toward #153

Made with Cursor

godofecht and others added 2 commits August 5, 2026 14:21
Bootstrap Gen0 with bare Python (no pip). Upload the Stage-A driver and
run a separate flowc-compile job that emits Stage-A programs without
pip-installing the Python compiler. Document DSL/LSP plugins as
FLOW_HOST=python escape hatches; do not delete src/flow modules yet.

Co-authored-by: Cursor <[email protected]>
User-facing flowc-compile stays pip-free; bare-python Gen0 fails because
flow.transpiler eagerly imports gpu_runtime → numpy.

Co-authored-by: Cursor <[email protected]>
@godofecht
godofecht merged commit dd0ccd8 into main Aug 5, 2026
14 checks passed
@godofecht
godofecht deleted the feature/flowc-phase-d branch August 5, 2026 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant