Skip to content

Tiered local CI: fast VM gate + phased LLVM compile (#436) - #439

Merged
PurHur merged 1 commit into
masterfrom
issue-436-compile-speed-ci
May 21, 2026
Merged

Tiered local CI: fast VM gate + phased LLVM compile (#436)#439
PurHur merged 1 commit into
masterfrom
issue-436-compile-speed-ci

Conversation

@PurHur

@PurHur PurHur commented May 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds script/ci-fast.sh (and make test-fast / phpc test --fast) for VM/compliance iteration without JIT/AOT compile runs.
  • Refactors script/ci-local.sh to run LLVM work in separate PHPUnit phases (aot-lint, jit, aot-link) so compile subprocesses exit between stages.
  • Applies an optional virtual-memory cap via PHP_COMPILER_CI_RAM_GB (default 100 GiB) during full LLVM CI.

Test plan

  • CiScriptsTest and @group aot-lint suite in Docker (php-compiler:22.04-dev)
  • ci-local.sh phased LLVM path exercised with filter
  • Full make test on a host with working bind-mount (recommended before release)

Closes #436

Made with Cursor

Introduce ci-fast.sh for VM/compliance-only runs, split full ci-local.sh
LLVM work into aot-lint, jit, and aot-link phases with an optional
PHP_COMPILER_CI_RAM_GB ulimit, and wire make/phpc/docker entrypoints.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit 2f1bafd into master May 21, 2026
@PurHur PurHur mentioned this pull request May 21, 2026
@PurHur
PurHur deleted the issue-436-compile-speed-ci branch May 21, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test Compiling Speed

1 participant