304 Commits

Author SHA1 Message Date
DubbleClick
5c44703f53 add lerc 2025-07-22 10:21:09 +07:00
Marc
ca8cd7ff3d
Merge branch 'main' into zig 2025-07-16 18:43:48 +07:00
DubbleClick
64776e3868 don't do host shenanigans with libffi 2025-07-16 12:28:22 +07:00
crazywhalecc
dd72b32559
Merge 2025-07-10 12:59:27 +08:00
DubbleClick
04cbba3f4e enable-pie for openssl 2025-07-07 21:09:39 +07:00
DubbleClick
05f3abe944 cs fix 2025-07-05 13:53:12 +07:00
DubbleClick
a191c136dc strip all may strip things needed for relocation on musl 2025-07-05 13:52:47 +07:00
DubbleClick
93d6a45a78 *full* shared extension build linked against musl libc dynamically works! 2025-07-05 12:01:52 +07:00
DubbleClick
2ac20cf3af remove unnecessary LDFLAGS_PROGRAM env var 2025-07-05 10:44:40 +07:00
crazywhalecc
c9d33bffc8
Chore 2025-07-05 10:49:55 +08:00
crazywhalecc
59f9143a3c
Remove redundant postfix in openssl 2025-07-05 10:49:36 +08:00
crazywhalecc
5f8cd972cd
Move extra runtime object to zig toolchain 2025-07-05 10:48:56 +08:00
DubbleClick
013a19e25b rename COMPILER_EXTRA to SPC_COMPILER_EXTRA 2025-07-04 14:39:42 +07:00
DubbleClick
d65d82ff0a remove extra libraries for php configure/make, since they're the same and only depend on the target libc 2025-07-04 14:27:48 +07:00
DubbleClick
3070376fb6 dont use 32 bit objects 2025-07-03 20:37:50 +07:00
DubbleClick
6f68d7b7f1 Revert "add cache file option to autoconf executor by default (if cflags and ldflags match default)"
This reverts commit 5577cd0fab770028fb5cad9560ac8750c4c53182.
2025-07-02 12:55:59 +07:00
DubbleClick
5577cd0fab add cache file option to autoconf executor by default (if cflags and ldflags match default) 2025-07-02 11:47:20 +07:00
DubbleClick
8d47e56010 sanity check after toolset init 2025-07-01 18:22:05 +07:00
DubbleClick
a6d68b9ecf fix ncurses 2025-07-01 18:09:17 +07:00
DubbleClick
88f9172866 bring back opcache jit fix 2025-07-01 16:57:56 +07:00
DubbleClick
bebcb978f6 conflicts with shared tests 2025-07-01 14:41:14 +07:00
DubbleClick
0a33fba23e zig toolchain stuff 2025-07-01 14:01:48 +07:00
DubbleClick
2ebdc4509c < 2025-07-01 11:00:24 +07:00
crazywhalecc
e1e48922de
Use isStatic instead of isStaticTarget 2025-06-29 22:49:48 +08:00
DubbleClick
dbdf10c75a support for dynamic linking of musl libc 2025-06-29 18:24:25 +07:00
crazywhalecc
977fbaa8ef
Suggestions 2025-06-29 16:00:17 +08:00
DubbleClick
4a493f3f6d don't set rpath because on musl it'll fall over with static binaries 2025-06-28 21:50:57 +07:00
crazywhalecc
12aadf18cc
refactor: replace SPC_LIBC with SPC_TARGET and update related logic 2025-06-28 16:36:05 +08:00
DubbleClick
4c8a173213 build_lib_path is better 2025-06-27 22:53:18 +07:00
DubbleClick
f5281535d9 strip libphp.so and frankenphp 2025-06-27 22:48:15 +07:00
DubbleClick
43dc04b4d0 building shared libphp.so on musl is really pointless and should be an error, since static compilations cannot load it 2025-06-27 22:01:37 +07:00
DubbleClick
5801d05047 test musl (I have not tested this yet!) 2025-06-26 16:47:07 +07:00
DubbleClick
815ba75c76 we can build musl with zig cc too, don't need musl toolchain 2025-06-26 16:43:37 +07:00
DubbleClick
e408a2cf1d suggestion and aarch64 fix 2025-06-26 15:55:41 +07:00
DubbleClick
d30ccb810c Merge remote-tracking branch 'origin/main' into zig 2025-06-26 12:30:50 +07:00
DubbleClick
625bfd1bec don't escape 2025-06-26 11:18:34 +07:00
DubbleClick
b142610800 move to systemutil 2025-06-25 14:52:50 +07:00
crazywhalecc
5681722c09 Fix global env manager, add in-ini variable parsing 2025-06-25 15:32:18 +08:00
DubbleClick
9a3a536479 runtime object patch for shared extensions 2025-06-25 14:32:00 +07:00
DubbleClick
55f01149e4 prevent warning 2025-06-25 13:56:12 +07:00
DubbleClick
5334727528 remove -L/usr/lib64 (need to put it in the zig-cc script, stupid to add it in 15 different places instead) 2025-06-24 23:07:17 +07:00
DubbleClick
63fcdd9db4 default param 2025-06-24 21:04:08 +07:00
DubbleClick
832c0230e2 getcctype default 2025-06-24 21:03:32 +07:00
DubbleClick
e1028b0348 swoole has date time conversion error in c++ code, clang needs -lunwind 2025-06-24 20:43:38 +07:00
DubbleClick
1b0b551fc6 handle case where libphp.so is built instead of libphp-release.so 2025-06-24 12:10:01 +07:00
DubbleClick
74849a8d48 -fno-sanitize=undefined is enabled in zig by default, not in gcc and clang 2025-06-24 09:05:44 +07:00
DubbleClick
bd863dba34 zig is clang 2025-06-23 15:26:39 +07:00
DubbleClick
5f3f999222 run go mod frankenphp automatically when running craft 2025-06-19 10:36:31 +07:00
DubbleClick
f64eb0dea5 build for bsd and macos too 2025-06-18 11:20:05 +07:00
DubbleClick
c1870af1b1 add frankenphp sapi 2025-06-18 11:15:16 +07:00