327 Commits

Author SHA1 Message Date
Marc
6d6a29368e
fix building of shared extensions (grpc, simdjson, soap) (#905) 2025-10-12 11:24:32 +02:00
crazywhalecc
897cb00351
Use failsafe for SPC_EXTRA_PHP_VARS 2025-10-12 16:42:38 +08:00
henderkes
018dfae15e suggestions 2025-10-11 10:38:51 +02:00
Marc
e6408b4693
Fix static linux cli -a not working issue (#893) 2025-10-08 11:37:27 +02:00
henderkes
044275d909 typo 2025-09-30 14:22:38 +02:00
henderkes
c5316f9231 -v3 doesn't have avx512 yet 2025-09-30 14:21:31 +02:00
henderkes
2d1a61d184 explicitly disable avx512 if zig and march not high enough 2025-09-30 14:00:13 +02:00
henderkes
808d224b08 build frankenphp before shared extensions again 2025-09-18 09:07:18 +02:00
crazywhalecc
be7c002869
Patch only when building cli 2025-09-07 16:10:50 +08:00
crazywhalecc
4bc30b0b6f Add php-src/config.log for SPCException 2025-09-07 11:50:51 +08:00
crazywhalecc
a2c5c7e6e6
Add cgi SAPI 2025-09-04 14:05:00 +08:00
crazywhalecc
465bd3ce85
Use separated functions for exporting symbols 2025-08-31 14:24:28 +08:00
DubbleClick
fad2314539 found ENABLE_SHARED option in liburing! 2025-08-29 09:25:32 +07:00
DubbleClick
460eb02086 build frankenphp and embed after shared extensions, make sure the linker doesn't drop libphp.a symbols that extensions need 2025-08-29 08:52:55 +07:00
DubbleClick
f18725083a disable opcache jit automatically on alpine target (only required for php < 8.5) 2025-08-28 11:32:33 +07:00
DubbleClick
ecdb94b429 suggestions 2025-08-27 08:31:48 +07:00
DubbleClick
c433aed521 fix macos? 2025-08-26 19:35:10 +07:00
DubbleClick
d9c2247f99 fix alpine realpath -s issue 2025-08-26 18:16:44 +07:00
DubbleClick
0d4d4283d1 only install library for liburing 2025-08-26 18:04:43 +07:00
DubbleClick
2d409db2f9 we don't need a min glibc version, just don't use --use-libc! 2025-08-26 14:42:34 +07:00
DubbleClick
00f262571c cs fix 2025-08-26 14:08:09 +07:00
DubbleClick
4eac953c71 ensure liburing is only pulled in by suggested libs when glibc >= 2.30 (or musl) 2025-08-26 14:07:49 +07:00
DubbleClick
2694dd9e21 add liburing for swoole 2025-08-25 22:57:04 +07:00
crazywhalecc
f68f060be2 Refactor all (except command) modules using new exceptions 2025-08-07 13:09:18 +08:00
crazywhalecc
722bb31815 Introduce AttributeMapper for managing extensions and doctor attributes 2025-08-07 13:09:18 +08:00
crazywhalecc
0c9a30256e Remove all @throws PHPDoc, it's almost useless for SPC anymore 2025-08-07 13:09:18 +08:00
Jerry Ma
2d6d25cadf
Update src/SPC/builder/linux/LinuxBuilder.php
Co-authored-by: Marc <m@pyc.ac>
2025-08-03 22:46:47 +08:00
crazywhalecc
643926886c
Test original 2025-08-03 02:00:19 +08:00
crazywhalecc
9a5a59d876
Test 2025-08-03 01:49:15 +08:00
crazywhalecc
e6cf05ddff
Test 2025-08-03 01:12:28 +08:00
crazywhalecc
e14301d991
Symbol workaround for cross toolchain 2025-08-02 18:07:32 +08:00
crazywhalecc
af62e55da8
Add missing space 2025-08-02 01:38:32 +08:00
crazywhalecc
22a8191b97
Fix opcache jit option parsing in builder 2025-08-02 01:29:20 +08:00
crazywhalecc
1047d471ed
Merge branch 'main' into php-85
# Conflicts:
#	src/SPC/builder/linux/LinuxBuilder.php
#	src/SPC/store/source/PhpSource.php
#	src/globals/test-extensions.php
2025-07-31 23:46:34 +08:00
crazywhalecc
3c972ac905
Add re2c build 2025-07-31 00:55:25 +08:00
crazywhalecc
af10cacdff
Add openssl version getter for Windows, test openssl 2025-07-30 23:23:12 +08:00
crazywhalecc
5f5d934d58
Add openssl argon2 password hash support for PHP 8.5 2025-07-30 23:02:28 +08:00
DubbleClick
fda637bb03 suggestions 2025-07-30 10:24:21 +07:00
crazywhalecc
9ed3c8b498
phpstan 2025-07-29 11:25:06 +08:00
crazywhalecc
ed67393d33
Move opcache JIT handling from Linux and MacOS builders to Extension 2025-07-29 11:22:58 +08:00
DubbleClick
e8bc892d8b Merge branch 'main' of https://github.com/crazywhalecc/static-php-cli into zig 2025-07-29 10:20:30 +07:00
Jerry Ma
fafe7d5778
Merge pull request #835 from crazywhalecc/chore/test-and-validate
Chore: PHPUnit test & docs & PHPDoc for vendor mode
2025-07-29 11:08:53 +08:00
crazywhalecc
e9dbeb1e34
Refactor opcache JIT handling and version checks in Linux and MacOS builders 2025-07-29 10:59:36 +08:00
DubbleClick
342192fd67 remove lto related stuff again, not worth using 2025-07-28 19:43:01 +07:00
crazywhalecc
b9bec5b526
Whoops, extension test 2025-07-28 16:00:32 +08:00
DubbleClick
944cca709f use $AR in second part of command too 2025-07-27 01:10:21 +07:00
DubbleClick
b6f673cd68 Use $AR instead of ar. Compatibility with -flto(=thin). 2025-07-27 00:59:32 +07:00
DubbleClick
d0d51ccf82 trigger CI again after clearing cache 2025-07-26 22:23:00 +07:00
DubbleClick
05053b5cd6 cs fix 2025-07-26 21:45:48 +07:00
DubbleClick
978552136c try to make everything -flto=thin compatible (librdkafka fails for some reason) 2025-07-26 21:44:01 +07:00