Commit Graph

26 Commits

Author SHA1 Message Date
henderkes
8f557aae8a forward-port feat/pgo fixes
Forward-port the genuinely-new fixes from feat/pgo (2026-06-09 .. 07-09)
into v3's reorganized layout:

- zig-cc.sh: prefix runtime-lib appends with `-x none` so the profile/crt/
  cpu_model archives don't poison the following files as `-x c` sources
- ZigToolchain: set ax_cv_have_func_attribute_ifunc=no under -flto
  (an ifunc in LTO bitcode crashes zig 0.16's lld during thin-link)
- php configure: add --with-sysconfdir option; strip build-time env vars
  from phpinfo's "Configure Command"
- ext-brotli / ext-zstd: switch to stable release/tag tarballs; brotli
  configures with --with-libbrotli
- ext-event: patch libevent http_connection.c to use a const peer address
  (both static and shared builds)
- ghrel downloader: prefer GitHub's /releases/latest (the semantically
  latest stable release) over publish-order iteration, so a newer-tagged
  prerelease (e.g. libevent 2.2.x-alpha) can't win over 2.1.x-stable

Commits already present in v3 were skipped: protobuf-latest + libaom
ENABLE_*=OFF (9398a667), the clang runtime -target flag (2adedc09), the
runtime-bits fail-hard half of 3823631a, and github prefer-stable's
prerelease skip (incl. the ghtar /releases/latest path, already in v3).
2026-07-09 14:47:51 +07:00
henderkes
5747a5661e build shared extensions before frankenphp 2026-06-02 04:00:57 +00:00
henderkes
d52ba59edc fix SourcePatcher::patchHardcodedINI method signature 2026-05-30 09:08:49 +07:00
henderkes
fe4803cfaf run shared ext builds after frankenphp build 2026-05-24 12:15:40 +07:00
henderkes
19d1379f7d better cross compile compatibility 2026-05-17 19:52:22 +07:00
henderkes
7e6e9d869e add pgo capabilities v3 style 2026-05-11 19:06:40 +07:00
crazywhalecc
2045055591 Add GUIDE section for v3 docs 2026-04-19 18:01:56 +08:00
crazywhalecc
8cc5c82595 Add frankenphp build 2026-04-12 23:17:50 +08:00
crazywhalecc
ffc677e4b3 chore 2026-04-12 23:13:07 +08:00
crazywhalecc
b96586e4d3 Add curl extension and enhance Windows build process 2026-03-31 15:10:47 +08:00
crazywhalecc
13ab3e2b6c Fix transitive extension dependency not enabled bug 2026-03-11 17:10:48 +08:00
crazywhalecc
8fdfcf8fcd Fix suggested extensions not passing when using --with-suggests 2026-03-09 15:29:12 +08:00
crazywhalecc
1f768ffc64 Mark transitive PHP extension dependencies of static extensions as static 2026-03-08 22:33:44 +08:00
crazywhalecc
c218aef947 Add doctor cache check and version management to ensure environment validation 2026-02-28 10:32:50 +08:00
crazywhalecc
3238c44745 Refactor FrankenPHP build and smoke test processes for Unix 2026-02-26 15:46:18 +08:00
crazywhalecc
18434b68f6 Add frankenphp SAPI build support 2026-02-19 23:02:09 +08:00
crazywhalecc
478b85879f Chore 2026-02-06 16:34:51 +08:00
crazywhalecc
103b5b3585 Upgrade phpstan to v2 2026-02-03 11:22:32 +08:00
crazywhalecc
7c8b40a49a Add windows php cli builds, support micro patches 2025-12-11 13:49:32 +08:00
crazywhalecc
458af6ac78 Add build function check for current OS and update validation logic 2025-12-10 13:38:25 +08:00
Jerry Ma
f68adc3256 Update src/Package/Target/php.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-10 09:52:59 +08:00
crazywhalecc
b0f630f95f Add package outputs, colorize motd 2025-12-09 16:34:43 +08:00
crazywhalecc
808aed2a66 Refactor package stage handling and update class structures for improved flexibility 2025-12-09 14:58:11 +08:00
crazywhalecc
a4bd2a79a9 Add shared extension build support 2025-12-08 17:01:58 +08:00
crazywhalecc
daa87e1350 Add DirDiff utility and enhance package build process
- Introduced DirDiff class for tracking directory file changes.
- Updated ConsoleApplication to use addCommand for build targets.
- Enhanced PackageBuilder with methods for deploying binaries and extracting debug info.
- Improved package installation logic to support shared extensions.
- Added readline extension with patching for static builds.
2025-12-04 10:53:49 +08:00
crazywhalecc
14bfb4198a v3 base 2025-11-30 15:35:04 +08:00