forked from ircmaxell/php-compiler
-
Notifications
You must be signed in to change notification settings - Fork 1
Milestone: Self-host — compile php-compiler with php-compiler (bootstrap) #212
Copy link
Copy link
Closed
Labels
MOST IMPORTANTThis are the most important targetsThis are the most important targetsarea:compilerCompiler / CFG / JITCompiler / CFG / JITarea:toolingTooling / CI / docsTooling / CI / docsenhancementNew feature or requestNew feature or requestimplementation-readySpec complete: repro, php-src ref, done-when — safe for workers to claimSpec complete: repro, php-src ref, done-when — safe for workers to claimphase-3:aotPhase 3 – AOT deploymentPhase 3 – AOT deployment
Description
Activity
Metadata
Metadata
Assignees
Labels
MOST IMPORTANTThis are the most important targetsThis are the most important targetsarea:compilerCompiler / CFG / JITCompiler / CFG / JITarea:toolingTooling / CI / docsTooling / CI / docsenhancementNew feature or requestNew feature or requestimplementation-readySpec complete: repro, php-src ref, done-when — safe for workers to claimSpec complete: repro, php-src ref, done-when — safe for workers to claimphase-3:aotPhase 3 – AOT deploymentPhase 3 – AOT deployment
Category
bootstrapProblem
The compiler runs on Zend PHP today; compile times dominate JIT benchmarks. M5 self-host (#1492) requires a native binary from this repo's
lib/+ext/that compiles PHP—including the next compiler revision—without Zend in the loop.This milestone tracks phased bootstrap work; individual gaps are filed as implementation-ready language/stdlib/bootstrap issues.
php-src reference
N/A (product milestone). Behavior targets remain Zend/php-src for language + stdlib parity on the bootstrap subset.
Repro / gates (today)
Inventory SSOT:
docs/bootstrap-inventory.md,docs/bootstrap-selfhost.md,docs/self-host-target.md.Scope (phased)
bin/vm.phppath; CFG gap warningsscript/bootstrap-inventory.phpcompile.php -lon bootstrap file listNon-goals (initial): full vendor/ self-host; LLVM pipeline self-hosted without plan.
Done when
bootstrap-inventory.php --checkgreen; triage script ranks top CFG gaps (Tooling: bootstrap-inventory-triage.php — top CFG gaps across 611 files #2254)evalon hot pathmake bootstrap-selfhost-helloworld+ link probe green in Docker; documented gap list tied to open parity issuesLinks