72 Commits

Author SHA1 Message Date
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
fb106a3d41
Merge branch 'refs/heads/main' into php-85
# Conflicts:
#	src/globals/test-extensions.php
2025-07-28 10:12:13 +08:00
DubbleClick
84e470d213 Merge branch 'main' of https://github.com/crazywhalecc/static-php-cli into zig 2025-07-24 11:02:11 +07:00
crazywhalecc
6634ade6b4
Fix library build failure not interrupt bug 2025-07-22 20:41:35 +08:00
DubbleClick
fff23649cf only comment out that line temporarily 2025-07-18 20:45:46 +07:00
crazywhalecc
5f2459ae43
Avoid useless exception on startup version mismatch 2025-07-15 21:11:38 +08:00
crazywhalecc
ad080da026
Refactor micro patching logic in SourcePatcher 2025-06-28 17:06:51 +08:00
DubbleClick
fbd6360bda rename go-mod-frankenphp to go-xcaddy 2025-06-19 12:07:22 +07:00
DubbleClick
aec03b2f24 move enable zts check 2025-06-19 10:08:51 +07:00
DubbleClick
6e70f16e1b Merge remote-tracking branch 'origin/docs' into sapi/frankenphp 2025-06-19 09:22:25 +07:00
crazywhalecc
a76f49f927
Remove libxml2 requirement for linux 2025-06-18 21:56:36 +08:00
crazywhalecc
8e2dffc3b5
Add frankenphp sapi embed build at build command, not constant 2025-06-18 20:54:54 +08:00
Jerry Ma
ba0ea5b40a
Refactor lock component to a single class (#773) 2025-06-18 14:05:43 +08:00
DubbleClick
0a24a6af1f move check when to build to extension.php instead of builder 2025-06-12 20:51:17 +07:00
DubbleClick
c972a94876 another way where static extensions would be excluded if also compiled shared 2025-05-25 15:52:11 +07:00
DubbleClick
ed35b65390 build all static exts no matter if we're also building shared versions 2025-05-23 12:09:57 +07:00
DubbleClick
310be957b6 new build-with-php key for extensions 2025-05-22 12:27:27 +07:00
DubbleClick
b376d1682f remove runSharedExtensionCheckUnix 2025-05-21 18:35:48 +07:00
DubbleClick
3ff31d20cf fix undefined references to brotlicommon functions in gd.so 2025-05-21 17:59:46 +07:00
DubbleClick
11c116480f fix spx 2025-05-21 17:57:53 +07:00
DubbleClick
495e868a71 rework configure args 2025-05-21 13:19:51 +07:00
DubbleClick
95a2f4600b rework building of shared extensions so that builtin extensions are built at php-src/configure -> make time 2025-05-21 12:01:00 +07:00
henderkes
20b6870f90 rewrite extension_dir 2025-05-20 09:14:13 +07:00
henderkes
bdd764218b install headers and modules from shared extensions 2025-05-18 12:53:49 +07:00
crazywhalecc
2da750d5f9
Fix phpunit, add skip extraction arg for SPCConfigUtil new builder 2025-04-18 14:50:58 +08:00
crazywhalecc
8b07b15f6c
Merge branch 'main' into feat/xdebug-dynamic 2025-04-18 09:45:19 +08:00
crazywhalecc
4e4eaed123
Add extract source only mode for SourceManager 2025-03-31 16:37:24 +08:00
DubbleClick
48f257f85a unixconfigurearg needs to know if currently building shared or static 2025-03-27 11:12:19 +07:00
DubbleClick
acdec64144 build static and shared at the same time 2025-03-27 09:36:46 +07:00
crazywhalecc
ae23b721b3
Fix shared extension does not build bug 2025-03-26 12:38:59 +08:00
crazywhalecc
f37110605e
Remove dev build target 2025-03-25 16:13:41 +08:00
crazywhalecc
aa4d4db11f
Refactor, supports shared extension build now ! 2025-03-24 23:50:12 +08:00
crazywhalecc
c4b9660cd7 Add embed sanity check 2024-12-13 15:05:44 +08:00
crazywhalecc
3659e20b0d Fix patch point tests 2024-12-05 18:51:57 +08:00
crazywhalecc
45bdb6a66b Add extension configure tests 2024-12-05 18:51:57 +08:00
crazywhalecc
12b119e235 Fix display PHP version when using archive 2024-11-23 11:55:29 +08:00
crazywhalecc
732fa06abb Add new tests, remove redundant code 2024-10-05 14:14:36 +08:00
crazywhalecc
778cd7b2c7 Add timer for build libs 2024-07-14 01:20:29 +08:00
crazywhalecc
3c0eb68c70 Add pre-built lib feature 2024-07-14 01:20:29 +08:00
crazywhalecc
eb00e0012f Add getLibVersion and getExtVersion method for extensions and libs 2024-06-30 23:25:58 +08:00
Jerry Ma
93cb7e9fbb
Add phpmicro win32 mode support (#478)
* Add phpmicro win32 mode support

* Bump version to 2.2.4

* Add micro win32 build tests for actions

* cs-fix and update deps
2024-06-20 14:46:08 +08:00
Jerry Ma
d258417afb
Fix several patches & newer phpmicro support (#470)
* use upstream phpmicro

* move src/global/tests to src/global/ext-tests

* move src/global/tests to src/global/ext-tests

* prevent file_get_contents memory insufficience

* update README

* fix libxml >= 2.12 with older PHP (<=8.1) build bug

* cleanup code, support newer phpmicro

* add --no-strip and --with-upx-pack tests

* fix windows sanity check for newer phpmicro

* fix windows sanity check for newer phpmicro

* test

* test

* test

* update deps for ci
2024-06-03 23:16:15 +08:00
Jerry Ma
3136d6edc1
Put extension and library compatibility checks before compilation (#451) 2024-05-16 13:01:11 +08:00
crazywhalecc
a30e054d7d Add package management 2024-02-18 16:22:17 +08:00
crazywhalecc
2649dcd05c
add BuilderBase::getPHPVersionFromArchive 2024-02-16 18:56:59 +08:00
crazywhalecc
0b1a321615 change with-micro-ext-test to without 2024-02-04 18:00:35 +08:00
crazywhalecc
104778d17a add windows support 2024-01-11 09:48:28 +08:00
Jerry Ma
8de942c274
Adjust function to protected (#315)
* add `--with-added-patch` command

* add BuilderProvider::getBuilder() function

* cs fix

* add builder() and patch_point() global functions

* bump version to 2.0.1

* adjust function prefix

* adjust function prefix
2024-01-10 11:10:40 +08:00
crazywhalecc
149e844d59 add --with-added-patch command 2024-01-09 11:51:11 +08:00
crazywhalecc
daf0d2eb32 fix dependency sort 2024-01-07 01:24:43 +08:00