crazywhalecc
5564559192
Change --with-shared to --build-shared
2025-03-26 12:39:55 +08:00
crazywhalecc
8cb93bc1fe
Add more exception and log
2025-03-26 12:39:15 +08:00
crazywhalecc
f37110605e
Remove dev build target
2025-03-25 16:13:41 +08:00
crazywhalecc
8cd69b2b70
Support zero extension build result
2025-03-25 00:05:46 +08:00
crazywhalecc
aa4d4db11f
Refactor, supports shared extension build now !
2025-03-24 23:50:12 +08:00
crazywhalecc
76c353e790
Add SPC_DOCKER_DEBUG=yes option for docker build
2025-03-24 22:39:45 +08:00
DubbleClick
9d75265e25
fix crash on windoof
2025-03-23 16:11:03 +07:00
DubbleClick
1791b443bc
add xdebug dynamic extension
2025-03-23 15:35:25 +07:00
Jerry Ma
b4f3657323
Remove SPC_NO_MUSL_PATH, remove --libc, use SPC_LIBC instead ( #642 )
...
* Remove SPC_NO_MUSL_PATH, remove --libc, use SPC_LIBC instead
* Fix tests
* Internally use GNU_ARCH for unified
* Update EXTENSION_DIR comments for env.ini
* Remove redundant -fPIC cflags in curl
2025-03-14 18:22:50 +08:00
Marc
2681a88488
don't require libacl and attr - use --with-libs='libacl' if you build… ( #635 )
...
* don't require libacl and attr - use --with-libs='libacl' if you build fpm with acl support
* don't filter out libacl and libattr
* suggest attr instead of requiring it
* disable nls if libiconv is not built
* suggest libiconv when using attr/libacl
* wrong directive...
* gettext (libintl) for acl/attr
* remove suggestions and build acl and attr without nls
---------
Co-authored-by: Marc Henderkes <m.henderkes@pc-college.de>
2025-03-13 18:23:36 +08:00
Marc Henderkes
5caf5b7694
check for libacl in fewer places
2025-03-12 09:19:01 +01:00
Marc Henderkes
76ac57edf4
download attr and libacl on linux
2025-03-12 09:07:26 +01:00
Marc Henderkes
d15b387bea
don't require libacl and attr for non fpm compilation
2025-03-12 08:59:47 +01:00
crazywhalecc
939fd88789
Merge branch 'main' into feat/gnu-static
2025-03-11 11:33:45 +08:00
Marc
067b02f6d7
update php default to 8.4 ( #621 )
...
* update php defaul to 8.4
* update config
* Update README.md
---------
Co-authored-by: Marc Henderkes <m.henderkes@pc-college.de>
2025-03-10 16:20:22 +08:00
crazywhalecc
23bfad6f87
Merge branch 'main' into feat/gnu-static
...
# Conflicts:
# src/SPC/builder/linux/LinuxBuilder.php
2025-03-09 17:44:13 +08:00
Jerry Ma
d30d1fc447
Add php and lib-base as special libraries to add dependencies to the root node ( #618 )
...
* Remove E_STRICT
* Add lib-base and php as special libs
* Remove debug code
* Fix phpunit with new config structure
* Fix phpunit test and fix license dumper bug for new type of lib
* Add missing lib type filter for windows builder
2025-03-08 14:29:44 +08:00
Alexander Over
6b227d88ac
Add command to dump required PHP extensions based on vendor/composer/… ( #599 )
...
* Add command to dump required PHP extensions based on vendor/composer/installed.json, composer.lock, composer.json (in this order)
* remove unused use
* missing translation
* Adjust dump-extensions
* Add docs for dump-extension command
---------
Co-authored-by: crazywhalecc <jesse2061@outlook.com>
2025-03-07 10:46:07 +08:00
Jerry Ma
1f281cd376
Fix gettext multithread segment fault bug ( #603 )
...
* Fix gettext included with multithreaded bug
* Change --enable-zts to BuildCommand
2025-02-10 20:28:00 +08:00
crazywhalecc
75ee69b07d
Add gnu based static binary support
2025-01-28 19:37:50 +08:00
crazywhalecc
5c51305978
Add embed build tests
2024-12-13 15:05:44 +08:00
crazywhalecc
a613e9a84f
Add spc-config command
2024-12-13 15:05:44 +08:00
crazywhalecc
0d2f6456fb
Change default download php version to 8.3
2024-11-23 11:55:29 +08:00
crazywhalecc
73e3480bdf
Add 8.4 support for switch-php-version command
2024-11-23 11:55:29 +08:00
Kévin Dunglas
0fb7784a20
feat: better default for the php.ini path ( #553 )
...
* update
* update
* fix
* Adjust docs
* Adjust docs
* Add config-file-scan-dir for WindowsBuilder
* Bump version
---------
Co-authored-by: crazywhalecc <jesse2061@outlook.com>
2024-10-18 20:46:00 +08:00
Andrea Esu
ec584bf704
Add option to manually specify config file path ( #511 )
...
* Add Config File Path option
* Fix Manual
* quotation marks changes
* php-cs-fixer
* Remove windows config file path option
* Add macOS config file path option
* Add chinese docs
---------
Co-authored-by: andrea.esu <KjsnM@@1_-2!>
Co-authored-by: crazywhalecc <jesse2061@outlook.com>
2024-10-12 16:41:45 +08:00
crazywhalecc
d6bea6295e
Add sanity check for pack:libs
2024-10-05 14:14:36 +08:00
crazywhalecc
4e88dba630
Separate env to env.ini file
2024-10-05 14:14:36 +08:00
Jerry Ma
b45081dd9c
Add --custom-git (-G) option for download command ( #534 )
...
* Add --custom-git (-G) option for download command
* Update manual-build.md
* Update manual-build.md
* Update DownloadCommand.php
2024-09-05 00:00:58 +08:00
crazywhalecc
b354e017ba
Add switch-php-version specific patch version support
2024-09-04 16:41:53 +08:00
crazywhalecc
4e08295cea
Add patch version support for downloading php-src
2024-09-04 16:35:39 +08:00
crazywhalecc
73654e5984
Add dependency map generator and related docs
2024-08-21 11:53:26 +08:00
crazywhalecc
c6a22fbd14
Code style fix and comment addition
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
crazywhalecc
351e391221
--ignore-cache-sources now support empty values (force all download)
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
DubbleClick
2d2607cd7f
replace ext-zend-opcache with ext-opcache for spc extension list ( #475 )
...
* replace ext-zend-opcache with ext-opcache for spc extension list
* Use constant to set internal and filter extensions
---------
Co-authored-by: Marc Henderkes <m.henderkes@pc-college.de>
Co-authored-by: crazywhalecc <jesse2061@outlook.com>
2024-06-09 19:38:50 +08:00
Jerry Ma
db9645641f
Ignore passed internal extensions ( #473 )
...
* Ignore passed internal extensions
* Add tests
* Add tests
2024-06-05 23:20:21 +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
968b3acbce
Add gen-ext-docs command ( #462 )
2024-05-29 13:53:08 +08:00
Jerry Ma
11076b1355
Add comomand: switch-php-version ( #457 )
...
* add switch-php-version command
* update README direct download description
2024-05-21 14:54:08 +08:00
Jerry Ma
3136d6edc1
Put extension and library compatibility checks before compilation ( #451 )
2024-05-16 13:01:11 +08:00
Jerry Ma
3e84becf77
Fix php74 upx bug ( #450 )
...
* fix php74 cannot compile with no-strip or with-upx-pack (including lint some code)
* use captainhook installer instead of plugin composer
* use captainhook installer instead of plugin composer
* add [no build test] flag
* update actions/cache version [no build test]
* test update actions/cache version
* test update actions/cache version
* test update actions/cache version
2024-05-16 10:51:31 +08:00
Jerry Ma
bde18054e5
Fix micro upx compress bug ( #440 )
...
* triple compression for micro with upx
* place debug info first
2024-05-06 14:12:40 +08:00
crazywhalecc
bd8f91d466
add env manager
2024-04-14 01:15:07 +08:00
Jerry Ma
32f14e16c8
fix pkg-config build for macOS sonoma ( #391 )
...
* fix pkg-config build for macOS sonoma
* cs fix
* bump version to 2.1.6 [skip ci]
2024-03-20 21:50:05 +08:00
crazywhalecc
e21b5676e7
add --retry for download command
2024-03-10 17:09:49 +08:00
crazywhalecc
e23daaa355
enhancement for download command
2024-03-10 11:53:33 +08:00
Jerry Ma
03510073c6
Fix windows curl build ( #368 )
...
* fix curl on windows build needs nghttp2.dll bug
* add curl on windows tests
* cs fix
* fix curl headers
* exit powershell properly
* reproduce zend_mm_heap corrupted
* reproduce zend_mm_heap corrupted
* reproduce zend_mm_heap corrupted
* add for-libs option for download
* add for-libs option for download
* add for-libs option for download
2024-03-05 21:43:09 +08:00