DevEx: north-star2-verify presenter + M3 compile-smoke emit link#2046
Merged
Conversation
Add make north-star2-verify (closes #1865) as a single entry point for the North Star 2 self-host ladder (inventory, wave gate, M2 spine, M3 probes). Fix M3 compile-smoke native emit helper link: bin/compile.php no longer forces PHP_COMPILER_SELFHOST_AOT=0 for compile_smoke_m3_emit_native_entry.php when PHP_COMPILER_M3_COMPILE_DRIVER=1, and the probe uses selfhost+M3 env instead of full Runtime JIT (LLVM 9 segfault at link, #1937). Closes #1865 Contributes to #1492, #1056, #1937 Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced May 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
script/north-star2-verify.shandmake north-star2-verify— single presenter for the North Star 2 self-host ladder (M0–M4), mirroringnorth-star1-verify(DevEx: make north-star2-verify presenter gate (self-host M0–M4) #1865).bin/compile.phppreservesPHP_COMPILER_SELFHOST_AOT=1forcompile_smoke_m3_emit_native_entry.phpwhenPHP_COMPILER_M3_COMPILE_DRIVER=1; probe links with selfhost+M3 env instead of barePHP_COMPILER_EMIT_HELPER_LINK(LLVM 9 link crash, Self-host M3: Native emit for compiler compile-smoke fixture (post-#1493) #1937).Test plan
vendor/bin/phpunit --filter NorthStar2VerifyScriptTestvendor/bin/phpunit --filter BootstrapSelfhostCompileSmokeTestBOOTSTRAP_M3_LINK_COMPILE_DRIVER=1 BOOTSTRAP_M3_COMPILE_DRIVER_REAL_LOWERING=1 ./script/bootstrap-selfhost-compile-smoke-probe.sh— emit helper link OK (runtime emit still partial/segfault until M3: BOOTSTRAP_M3_HELLOWORLD_STRICT — native HelloWorld emit (no Zend fallback) #1493)make north-star2-verifyinphp-compiler:22.04-dev(LLVM tail is long; use--skip-llvm-tailfor quick sanity)Closes #1865
Contributes to #1492, #1056, #1937
Made with Cursor