Add support for parallax#1293
Open
AndreyMashukov wants to merge 1 commit into
Open
Conversation
php-parallax is a Go/Rust-semantic concurrency primitive for PHP — WaitGroup + spawn with isolated per-worker runtimes and snapshot-copy captures. Hard requirements: PHP 8.4+ and ZTS (already covered by special-requirements). The package is on PECL registration queue but not yet uploaded, so the install hook builds from the tagged GitHub tarball via phpize, following the same shape as the cassandra entry. Upstream: https://github.com/AndreyMashukov/php-parallax
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.
This adds support for installing the
parallaxextension.About the extension — php-parallax is a Go/Rust-semantic concurrency primitive for PHP: every spawned task runs on its own OS thread inside an isolated PHP runtime, captures are deep-cloned at spawn time (Rust
movesemantics), and one failing task never affects its siblings.Hard requirements: PHP 8.4+ and a ZTS build (
--enable-zts). Thespecial-requirementsline marks the ZTS dependency the same wayparallelandpthreadsdo; the supported-versions line only lists 8.4 and 8.5.Install path: the PECL submission is queued but not yet uploaded, so the install hook builds from the tagged GitHub tarball via
phpize. The shape mirrors the existingcassandra)case (tarball → phpize → configure → make install → markinstallRemoteModule_manuallyInstalled=1).Verified locally on
php:8.4-zts-alpineandphp:8.4-zts-bookworm:Once PECL accepts the package I'll follow up with a smaller PR that switches to the standard `pecl install` path and drops the custom build hook.