-
-
Notifications
You must be signed in to change notification settings - Fork 308
swoole hooks can be compiled if pgsql/sqlite are not compiled in statically #864
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
new feature: |
What is swoole-stdext? Edit: Oh damn, I wished for that for a long time. Too bad I can't personally use swoole, we're making use of too many caddy features. |
edit: it's v6.1+ only, the stable release is still v6.0.2, so that will need a feature request that we can do later |
Looks like the swoole fails are not introduced by this pr (they still happen when I disable the new --enable options), but by Swoole src not checking for extended posix support before using it? Hard to track down without a mac. |
I'll check it tomorrow evening. |
@crazywhalecc good for merge? |
Haven't tested on linux yet, after my day job is finished I'll look into it. I've been a bit busy at work lately. |
The macOS bug reason:
The root cause is that the configure built in spc will bring other libraries into a separate |
And for linux liburing, I dont' see anything wrong, but I recommend triggering full extension tests and all versions of bulk build tests with swoole's hooks at the end. |
Ah, it's pgsql again... |
https://github.com/static-php/spc-packages/actions/runs/17260452046 Already tested! |
I think we need to disable opcache jit with zts builds for php < 8.4 on alpine. It was fixed, but apparently not backported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added missing notes and updated the cli generator, good to me now. But I don't think we should add pkg-config things in this PR.
Actually I also prefer hosting pkg-config musl-static binaries in dl.static-php.dev without building in doctor. The pkg-config build actions would be in static-php-cli-hosted.
Yes, you can change that in the other branch. I don't have access to the dl.static-php so I can't upload a prebuilt version of it. |
Oh, as a side note, what is supposed to happen if swoole-pgsql and pdo_pgsql extension are both loaded shared? Does one need to initialise first to get it working correctly? |
I haven't tested shared build for swoole extension yet, but theoretically it should work together. |
I've tested it and it works fine, but only the general pdo_pgsql. I have never worked with swoole. |
What does this PR do?
enable swoole features as possible
Checklist before merging