Skip to content

M2 spine: src/ CLI bootstrap (cli.php + compat shims) (5 files) #1432

Description

@PurHur

Summary

Entry shims used by bin/compile.php / bin/vm.php. May stay host-only until M4; track for inventory.

Units in this batch: 5

Files to add to spine / inventory

  • src/cli.php
  • src/llvm-env.php
  • src/macro_functions.php
  • src/tokenizer-compat.php
  • src/yay-php8-compat.php

Gates (each PR)

script/apply-patches.sh
php bin/compile.php -l test/selfhost/compiler_lib_spine_smoke/main.php
BOOTSTRAP_LIB_SPINE_SMOKE=1 make bootstrap-selfhost-lib-spine-smoke
make bootstrap-aot-link
vendor/bin/phpunit test/unit/BootstrapSelfhostBundleTest.php

How to add units

  1. require_once each file in test/selfhost/compiler_lib_spine_smoke/main.php
  2. Confirm SelfHostBuiltinPolicy if stdlib JIT leaf
  3. php script/bootstrap-selfhost-next-includes.php --bundle=test/selfhost/compiler_lib_spine_smoke/main.php
  4. Update M2 count in docs/pages/development-status.md

Parent: #1056 · Umbrella: #.1419.

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