224 Commits

Author SHA1 Message Date
DubbleClick
5482f130ba make sure we don't use musl ld 2025-07-25 16:55:16 +07:00
DubbleClick
199b3b5582 Merge branch 'main' of https://github.com/crazywhalecc/static-php-cli into zig 2025-07-25 12:03:37 +07:00
crazywhalecc
a375ab9780 Fix custom pkg download callable not working bug 2025-07-25 12:58:19 +08:00
DubbleClick
ea56e460d0 zig script 2025-07-25 10:00:49 +07:00
crazywhalecc
52a623f31e
Suggestions 2025-07-24 12:00:17 +08:00
crazywhalecc
abd7d3cfb4
Add --no-alt and --skip-extract option to install-pkg command 2025-07-24 00:42:30 +08:00
DubbleClick
81b96c2b30 Merge remote-tracking branch 'origin/main' into zig 2025-07-22 12:49:42 +07:00
crazywhalecc
f69f8d1e4a
Move zig-toolchain-only things to zig toolchain class 2025-07-22 13:16:26 +08:00
Jerry Ma
b2385cf80c
Update src/SPC/store/Downloader.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-21 23:33:20 +08:00
Jerry Ma
2b1d03d9d4
Update src/SPC/store/Downloader.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-21 23:29:38 +08:00
crazywhalecc
5b6f33a2a1
Allow specifying submodules for git source 2025-07-21 23:21:00 +08:00
DubbleClick
6f9a45b54a shared extensions may also need to patch 2025-07-19 15:17:44 +07:00
Marc
ca8cd7ff3d
Merge branch 'main' into zig 2025-07-16 18:43:48 +07:00
crazywhalecc
dd72b32559
Merge 2025-07-10 12:59:27 +08:00
DubbleClick
26aca723cb update php-cs fixer to get rid of PHP_CS_FIXER_IGNORE_ENV variable 2025-07-05 12:11:48 +07:00
DubbleClick
93d6a45a78 *full* shared extension build linked against musl libc dynamically works! 2025-07-05 12:01:52 +07:00
DubbleClick
013a19e25b rename COMPILER_EXTRA to SPC_COMPILER_EXTRA 2025-07-04 14:39:42 +07:00
DubbleClick
e5c5b77a9a don't run extra logic in zig-cc script if there's no version string in SPC_TARGET 2025-07-03 14:46:07 +07:00
DubbleClick
456d12fb58 fix error suppression 2025-07-03 11:59:39 +07:00
DubbleClick
f6a292b57b cleaner 2025-07-02 21:38:58 +07:00
DubbleClick
39ffb8d99d why does exec work but output=$(...) doesn't? 2025-07-02 21:32:24 +07:00
DubbleClick
b5aa7fc213 simplify script a bit 2025-07-02 09:26:11 +07:00
DubbleClick
b16638d813 place -lstdc++ in compiler_extra 2025-07-02 09:23:31 +07:00
DubbleClick
a0564628c4 try removing -lstdc++ (this will likely make a few extensions fail to load with undefined gxx_personality_v0 again, but we can use COMPILER_EXTRA there) 2025-07-01 23:32:55 +07:00
DubbleClick
27f57cc23a fix zig runtime 2025-07-01 16:40:12 +07:00
DubbleClick
408b3b4060 try to test with zig? 2025-07-01 16:21:57 +07:00
DubbleClick
292df38c10 isInstalled for GoXcaddy 2025-07-01 14:59:34 +07:00
DubbleClick
ba7f994a71 simplify zig script 2025-07-01 14:12:51 +07:00
DubbleClick
b7e8587608 cs fixes 2025-07-01 14:02:10 +07:00
DubbleClick
0a33fba23e zig toolchain stuff 2025-07-01 14:01:48 +07:00
DubbleClick
7b33ee79dd make sure that $TARGET splits for -dynamic, otherwise it resolves to "-target 'native-native -dynamic'" 2025-07-01 12:56:51 +07:00
DubbleClick
2ebdc4509c < 2025-07-01 11:00:24 +07:00
Marc
68e500eea0
Merge branch 'main' into refactor/spc-target 2025-06-30 20:16:59 +07:00
crazywhalecc
d00a5223d3 Add exception for checking patch file exist 2025-06-30 19:45:26 +08:00
crazywhalecc
3965a899c7 Add missing directory separator 2025-06-30 19:41:32 +08:00
DubbleClick
2564da2615 Reapply "just strip out the error and return the output instead of executing again without version"
This reverts commit 1d29ac228c42531a5f008e480c3cb538e7769e36.
2025-06-29 16:56:24 +07:00
crazywhalecc
977fbaa8ef
Suggestions 2025-06-29 16:00:17 +08:00
DubbleClick
6ed62aa05c use CC=cc to install xcaddy 2025-06-29 13:31:43 +07:00
DubbleClick
1d29ac228c Revert "just strip out the error and return the output instead of executing again without version"
This reverts commit d588e6e4fd8df910a39603949191d5e7170a219e.
2025-06-29 10:40:48 +07:00
DubbleClick
a44d90671c fix existing check for Zig::fetch 2025-06-29 00:49:39 +07:00
DubbleClick
d588e6e4fd just strip out the error and return the output instead of executing again without version 2025-06-29 00:06:40 +07:00
DubbleClick
19ddddf618 self:: instead of SourcePatcher:: 2025-06-28 23:45:02 +07:00
DubbleClick
a7bf1e9676 we need to patch swoole early enough 2025-06-28 23:33:13 +07:00
DubbleClick
02f2837f86 adjust craft command for zig 2025-06-28 22:55:30 +07:00
DubbleClick
de3cb2f686 no "" 2025-06-28 21:59:12 +07:00
DubbleClick
61274cb865 use extra COMPILER_EXTRA env variable to make sure it's actually passed to compiler 2025-06-28 21:21:29 +07:00
Jerry Ma
88d99a7dea
Update src/SPC/store/SourcePatcher.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-28 18:04:45 +08:00
crazywhalecc
ad080da026
Refactor micro patching logic in SourcePatcher 2025-06-28 17:06:51 +08:00
crazywhalecc
12aadf18cc
refactor: replace SPC_LIBC with SPC_TARGET and update related logic 2025-06-28 16:36:05 +08:00
DubbleClick
797aaf1ea8 remove libdir 2025-06-27 14:51:36 +07:00