Commit Graph

14 Commits

Author SHA1 Message Date
m-this
c54fa78ad1 fix(windows): survive cmd.exe's 8191 character command line limit
- with big extension stacks (imagick) the link command lines exceed what
  cmd.exe allows and fail with 'The command line is too long'
- pass the collected LIBS_CLI/LIBS_CGI/LIBS_MICRO lib lists to link.exe
  through @response files, like php-src already does for its object lists
- compile the frankenphp -mthreads shim instead of generating a .bat:
  batch files run through cmd.exe and cap cgo link lines at 8191 chars,
  a real executable gets the full 32K and past that go writes a response
  file by itself; still probe-gated, still a stopgap for golang/go#80290
2026-07-10 08:04:10 +02:00
mathis
83ce54b62b docs(frankenphp): link golang/go#80290 so the -mthreads workaround can be removed later 2026-07-08 03:59:20 +02:00
m-this
5a5c784c4f fix(frankenphp): strip Go's -mthreads so the Windows build survives Clang >= 20
Go passes the MinGW-only -mthreads flag to the C compiler for cgo builds
(golang/go#16932); Clang >= 20 rejects it for the MSVC target, so the final
frankenphp go build fails on current windows-latest (VS 18 / LLVM 20+).

Wrap Clang with a generated .bat that drops the -mthreads token and forwards
the rest, used only when the detected Clang refuses the flag.
2026-07-07 15:30:52 +02:00
DubbleClick
f66e68754e fable output 2026-06-14 11:51:07 +07:00
crazywhalecc
506cb15654 SPC_DEFAULT_C_FLAGS renamed to SPC_DEFAULT_CFLAGS 2026-05-07 14:55:05 +08:00
crazywhalecc
5d76e0b6cb phpstan 2026-04-12 23:20:38 +08:00
crazywhalecc
8cc5c82595 Add frankenphp build 2026-04-12 23:17:50 +08:00
crazywhalecc
d7eb33ff1e Forward-port #1057 2026-03-10 22:01:23 +08:00
crazywhalecc
465549f97d Forward-port #1056 on v3 2026-03-10 16:41:01 +08:00
crazywhalecc
8c7d113c2f Apply smoke test control option for frankenphp 2026-02-27 09:59:55 +08:00
crazywhalecc
f9fe2adb1d Trim quotes from frankenphp app path to ensure valid directory check 2026-02-27 09:52:02 +08:00
crazywhalecc
3238c44745 Refactor FrankenPHP build and smoke test processes for Unix 2026-02-26 15:46:18 +08:00
crazywhalecc
a357510109 Add frankenphp building message for console output 2026-02-26 10:02:16 +08:00
crazywhalecc
18434b68f6 Add frankenphp SAPI build support 2026-02-19 23:02:09 +08:00