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
#1493 ✅ closed strict HelloWorld native emit. The next M3 slice is #1937 — native emit for compiler_compile_smoke (real Compiler → JIT → AOT path beyond one-line echo).
Today BOOTSTRAP_M3_HELLOWORLD_STRICT_GATE exists (#1866 follow-up), but there is no ci-local hook for a compile-smoke strict probe once #1937 lands. Contributors must remember script/bootstrap-selfhost-compile-smoke-probe.sh manually during M3→M4 work.
Problem
#1493 ✅ closed strict HelloWorld native emit. The next M3 slice is #1937 — native emit for
compiler_compile_smoke(realCompiler→JIT→AOTpath beyond one-line echo).Today
BOOTSTRAP_M3_HELLOWORLD_STRICT_GATEexists (#1866 follow-up), but there is no ci-local hook for a compile-smoke strict probe once #1937 lands. Contributors must rememberscript/bootstrap-selfhost-compile-smoke-probe.shmanually during M3→M4 work.Goal
After #1937 probe exits 0 on harness:
BOOTSTRAP_M3_COMPILE_SMOKE_STRICT_GATEtoscript/ci-defaults.env(default0)script/ci-common.sh, when gate=1and LLVM ready, run compile-smoke strict probe (wrap existing script — no duplicate logic)docs/local-ci-matrix.mdandphpc doctor --gates=1inci-local.shafter stable (sibling to CI: Default BOOTSTRAP_M3_HELLOWORLD_STRICT_GATE=1 in ci-local after #1493 #1866)Implementation hints
script/bootstrap-selfhost-compile-smoke-probe.sh(new or extend helloworld probe)BOOTSTRAP_M3_COMPILE_SMOKE_STRICT=1test/selfhost/compiler_compile_smoke/main.phpdocs/bootstrap-selfhost.mdscript/ci-common.shci_run_bootstrap_m3_compile_smoke_strict()ci_run_bootstrap_m3_helloworld_strict()blocklib/JIT/SelfHostBuiltinPolicy.phpSuggested probe contract
BOOTSTRAP_M3_COMPILE_SMOKE_STRICT=1 ./script/bootstrap-selfhost-compile-smoke-probe.sh # exit 0: native binary emits compile-smoke without Zend bin/compile.php fallbackAcceptance criteria
BOOTSTRAP_M3_COMPILE_SMOKE_STRICT_GATE=1 ./script/ci-local.shruns probe when LLVM present0until Self-host M3: Native emit for compiler compile-smoke fixture (post-#1493) #1937 greentest/unit/CiScriptsTest.phpdocuments env varVerification (local / Docker only)
No GitHub Actions (#394 ✅).
Dependencies
phpc test --bootstrapmay call subsetLinks
docs/self-host-target.mdM1 compile-smoke row