henderkes
fc90b4ae23
allow appending pkg_config_path #910
2025-09-22 13:10:48 +02:00
crazywhalecc
3b9efcb2d4
Put it into toolchain manager to skip in unit test
2025-08-31 15:24:29 +08:00
crazywhalecc
0fa38bad6d
Use existing pkg-config builds and pre-built contents for packages
2025-08-31 15:04:34 +08:00
DubbleClick
694fd2f1e0
turn pkg-config into a package instead of a library
2025-08-27 14:33:39 +07:00
crazywhalecc
f68f060be2
Refactor all (except command) modules using new exceptions
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
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
cb0ea67a28
Fix x86_64 macOS bison finder path
2025-07-31 00:09:13 +08:00
crazywhalecc
0696acb9c5
Add support for re2c in tool checklists and environment setup
2025-07-28 15:54:55 +08:00
crazywhalecc
a8dcfce99e
chore
2025-07-22 13:16:34 +08:00
DubbleClick
df0d5fdbe8
merge fix
2025-07-01 13:02:59 +07:00
DubbleClick
2ebdc4509c
<
2025-07-01 11:00:24 +07:00
DubbleClick
1839f13149
thanks, autocomplete, for the useless flag
2025-06-29 22:57:25 +07:00
DubbleClick
320c21d272
-static, not static
2025-06-29 22:26:30 +07:00
DubbleClick
3940f032af
fix tests
2025-06-29 21:09:59 +07:00
crazywhalecc
7f45f4aeec
Fix phpunit, add SPC_SKIP_TOOLCHAIN_CHECK
2025-06-29 19:48:09 +08:00
crazywhalecc
977fbaa8ef
Suggestions
2025-06-29 16:00:17 +08:00
crazywhalecc
0598eff9c5
Add suffix support for SPC_TARGET
2025-06-28 23:13:40 +08:00
crazywhalecc
454b5a77ad
Add SPC_LIBC mapping to SPC_TARGET
2025-06-28 22:59:02 +08:00
crazywhalecc
90823e3b17
Use explict glibc toolchain target
2025-06-28 17:28:02 +08:00
crazywhalecc
12aadf18cc
refactor: replace SPC_LIBC with SPC_TARGET and update related logic
2025-06-28 16:36:05 +08:00
DubbleClick
efb1ff5a93
test fix 2?
2025-06-27 22:56:49 +07:00
DubbleClick
f5281535d9
strip libphp.so and frankenphp
2025-06-27 22:48:15 +07:00
DubbleClick
03a33d87ff
fix frankenphp build
2025-06-26 17:23:37 +07:00
DubbleClick
762c554468
test zig
2025-06-26 14:39:49 +07:00
DubbleClick
a8c7057aba
fix windows
2025-06-26 14:30:42 +07:00
DubbleClick
fae2878c41
refactor env var logic out to packages, abomination of a zig-cc script...
2025-06-26 14:24:00 +07:00
crazywhalecc
5681722c09
Fix global env manager, add in-ini variable parsing
2025-06-25 15:32:18 +08:00
DubbleClick
4a70f260f3
test alpine directly too (spc-alpine-docker)
2025-06-19 11:12:58 +07:00
DubbleClick
fcf2c967ab
fix setting of variables
2025-06-19 11:01:30 +07:00
DubbleClick
5f3f999222
run go mod frankenphp automatically when running craft
2025-06-19 10:36:31 +07:00
crazywhalecc
8909b62dc4
Some prerequisites for refactor
2025-03-24 19:25:38 +08: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 Henderkes
d15b387bea
don't require libacl and attr for non fpm compilation
2025-03-12 08:59:47 +01: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
Marc
a95d034e98
fix SPC_NO_MUSL_PATH not working in .env.ini ( #612 )
...
* fix SPC_NO_MUSL_PATH not working in .env.ini
* use filter var instead of assuming var was defined in .env.ini
* CS fix and composer update
* update composer.lock
* fix LIBRARY_PATH and LD_LIBRARY_PATH
* Revert composer lock and cs-fixer options
* filter validate boolean
---------
Co-authored-by: Marc Henderkes <m.henderkes@pc-college.de>
Co-authored-by: crazywhalecc <jesse2061@outlook.com>
2025-03-07 18:15:11 +08:00
crazywhalecc
75ee69b07d
Add gnu based static binary support
2025-01-28 19:37:50 +08:00
crazywhalecc
4f87e01bff
Use similar optimize flags for compiling PHP (bump major ver)
2024-11-23 11:55:29 +08:00
crazywhalecc
3c802119ed
cs-fix and fix tests
2024-10-05 14:14:36 +08:00
crazywhalecc
0568d4b4c8
Ignore env that already set in shell scripts
2024-10-05 14:14:36 +08:00
crazywhalecc
c841ef5b9a
Fix missing constant for PHP_SDK_PATH
2024-10-05 14:14:36 +08:00
crazywhalecc
25850ef8eb
Fix LD_LIBRARY_PATH
2024-10-05 14:14:36 +08:00
crazywhalecc
8f80548739
Fix LD_LIBRARY_PATH
2024-10-05 14:14:36 +08:00
crazywhalecc
4d551f3994
Add SPC_NO_MUSL_PATH env var
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
326d682e44
Make opcache patch independent ( #533 )
...
* Make opcache patch independent
* Restore tests.yml
* Workaround for older php
2024-09-05 00:00:36 +08:00
crazywhalecc
0665af2537
Add SPC_MICRO_PATCHES env var
2024-08-20 12:23:12 +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
69e6d82e83
add linux env var: SPC_NO_MUSL_PATH ( #437 )
2024-05-06 12:32:43 +08:00
Jerry Ma
b14894fab7
Fix windows UPX_EXEC env var missing ( #423 )
2024-04-25 16:48:31 +08:00