Self-host M5: gen-0 prefers compiled driver + docker-exec sync (#2894)#3217
Merged
Conversation
Prefer native gen-0 drivers with explicit (gen-0 compiled) vs (gen-0 Zend) logging, align vendor prelink invoker order, and persist build/bin-compile-aot* across tar-copy docker-exec runs so repeat bootstrap-selfhost-link skips Zend. Co-authored-by: Cursor <cursoragent@cursor.com>
5b4a6a2 to
31ea518
Compare
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
Closes #2894.
bootstrap-resolve-compile-invoke.sh(inventory →bin-compile-aot→ emit-helper → helloworld → selfhost-compile-driver).(gen-0 compiled)vs(gen-0 Zend)explicitly; addBOOTSTRAP_ALLOW_GEN0_ZENDandBOOTSTRAP_USE_INVENTORY_DRIVER.docker-exec.shtar-fallback sync-back forbootstrap-selfhost-linkandbuild/bin-compile-aot-inventory(+ M3 sidecar blobs) so a second harness invocation reuses host drivers without Zend.bootstrapVendorPrelinkResolveCompileInvoker()with the same native order.php-src / harness reference
Bootstrap gen-0 path mirrors committed
prelinked/bootstrap-gen0/seed (not Zendphp bin/compile.php) per M5 ladder indocs/bootstrap-generations.md.Verification
Made with Cursor