Skip to content

AOT: Project build mode (entry file + dependency graph) #59

Description

@PurHur

Status (2026-05-24, batch 65 — narrowed)

Static project build is shipped on master. This issue is closed for phase 1; track remaining work elsewhere.

Capability Issue Status
phpc build --project CLI this issue
lib/AOT/ProjectGraph.php BFS #504
Manifest includes[] #452
Multi-.o link #752
003-MiniWebApp AOT link + execute #764
Deploy bundle #609
Static multi-TU umbrella #154 ✅ phase 1
Dynamic includes / PSR-4 #1762 📋 phase 2

Original problem

bin/compile.php / phpc build originally emitted one .o per entry file. Multi-file apps need explicit graph discovery.

Canonical follow-ups (do not reopen #59)

Verification (local / Docker)

./phpc build --project examples/003-MiniWebApp
MINIWEBAPP_AOT_EXECUTE_GATE=1 ./script/ci-local.sh --filter MiniWebAppAotExecuteTest
docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev \
  ./script/ci-local.sh --filter MiniWebAppAotExecuteTest

No GitHub Actions.

Action

Close #59 as shipped; use #154 / #1762 for new work. ROADMAP #78 links here for history only.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions