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
3b8abda8c9
add libclang.cpu.a
2026-06-09 12:27:58 +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
2d5abd31c1
micro patch for cross-arch 32 bit builds
2026-05-29 23:15:53 +07:00
henderkes
69d0f9b8cc
remove SPC_ARCH
2026-05-29 22:38:58 +07:00
henderkes
15deecd34f
Merge remote-tracking branch 'origin/v3' into feat/pgo-v3
2026-05-24 20:26:50 +07:00
Marc
3f3edd62a1
Update src/Package/Extension/password_argon2.php
2026-05-24 17:57:02 +07:00
crazywhalecc
82b77af317
Chore: extension fixes
...
clickhouse, mongodb, opcache, password-argon2, pgsql, spx
2026-05-24 18:16:47 +08:00
crazywhalecc
d1b4c05381
Fix curl exe build on windows
2026-05-24 18:11:41 +08:00
henderkes
fe4803cfaf
run shared ext builds after frankenphp build
2026-05-24 12:15:40 +07:00
henderkes
80d81079db
backport v2 passing correct libraries, not all
2026-05-24 12:15:04 +07:00
henderkes
5bdcd3f562
dont pass all static exts to frankenphp build either
2026-05-23 20:02:24 +07:00
henderkes
1ae989df59
simplify common zig code paths
2026-05-23 16:15:12 +07:00
henderkes
e7fb1e203f
backport fixes from v2
2026-05-23 16:15:12 +07:00
Luther Monson
3c24c92d61
mongodb: export PHP_VERSION_ID for in-tree builds
...
mongo-php-driver 2.3.3 added a config.m4 check that falls back to
php-config when PHP_VERSION_ID is unset in the shell env. In-tree
PHP source builds have no php-config, so configure fails with:
checking PHP version... configure: error: php-config not found
Set PHP_VERSION_ID from main/php_version.h before configureForUnix
so the lookup short-circuits.
2026-05-22 10:03:43 -07:00
henderkes
d93fdd9707
use github tokens for package downloads
2026-05-22 23:06:25 +07:00
henderkes
9d508f1d39
forward port v2 pgo changes
2026-05-22 15:42:51 +07:00
henderkes
b38c7b274f
install runtime rt after zig init
2026-05-19 22:55:01 +07:00
henderkes
efa7946c14
build in SOURCE_PATH
2026-05-19 20:44:47 +07:00
henderkes
7bb4a09a3c
turn llvm-tools into a doctor check. llvm-runtime is a target now
2026-05-19 20:02:13 +07:00
crazywhalecc
f27ec773a1
Refactor clang runtime bits support for zig integration
2026-05-18 10:55:39 +08:00
henderkes
19d1379f7d
better cross compile compatibility
2026-05-17 19:52:22 +07:00
henderkes
07aae79cae
forward port #1142
2026-05-16 19:16:24 +07:00
henderkes
4b19f4ec95
forward port #1138
2026-05-15 14:54:04 +07:00
henderkes
70e717adb6
fix version reevaluating regression from v2
2026-05-15 14:05:33 +07:00
henderkes
a88e426623
clean cgo cache before rebuilding frankenphp (reports wrong version from cgo includes, even if they're updated)
2026-05-15 12:54:05 +07:00
henderkes
09de4c9c70
drop ldflags fron watcher-c
2026-05-15 11:05:22 +07:00
henderkes
db794bf27b
strange shit
2026-05-12 13:18:54 +07:00
henderkes
445c0b36c9
don't add fno-sanitize=undefined for library builds
2026-05-12 11:30:46 +07:00
henderkes
4754faf43e
also build curl exe on windows
2026-05-12 11:24:55 +07:00
henderkes
2415b7db35
we don't need this anymore
2026-05-12 11:22:04 +07:00
henderkes
8453f69eea
fix BUILD_CC=cc workaround root cause (minijit trips zig default undefined behaviour sanitizer)
2026-05-12 10:52:23 +07:00
henderkes
4172508cb9
use {pkg_root_path} for packages, otherwise containers get confused with different pkg_root_path set
2026-05-12 09:54:29 +07:00
henderkes
bfaa7ebb3a
Merge remote-tracking branch 'origin/v3' into feat/pgo-v3
2026-05-11 21:05:54 +07:00
henderkes
7e6e9d869e
add pgo capabilities v3 style
2026-05-11 19:06:40 +07:00
Jerry Ma
0732c1f0b0
Merge branch 'v3' into feat/clickhouse
2026-05-11 13:18:16 +08:00
henderkes
743934d1fe
use resolved dependency tree instead of asking for with_suggests everywhere
2026-05-11 11:35:15 +07:00
henderkes
efdd2a74a5
update libraries to honour user flags
2026-05-11 10:05:33 +07:00
henderkes
4f7694267b
toolchain fixes forward port from v2-pgo
2026-05-10 19:27:36 +07:00
crazywhalecc
c186038dca
Use system cc instead
2026-05-10 16:27:25 +08:00
crazywhalecc
7107566da7
Fix wrongly constructed class
2026-05-10 15:50:21 +08:00
crazywhalecc
02d8f51bb2
Enhance Unix Makefile patch to disable auto-vectorization for zig-cc to prevent minilua segfault
2026-05-10 15:17:51 +08:00
crazywhalecc
64d9650f88
Fix compiler extra appending
2026-05-09 17:23:01 +08:00
crazywhalecc
e63d49ec13
Disable pdo pgsql hook for swow temporarily
2026-05-09 16:30:57 +08:00
henderkes
3f48413281
add clickhouse extension by ilia
2026-05-09 15:10:30 +07:00
henderkes
dc6e63e1ba
fix logic errors in shared ext patching
2026-05-09 15:09:59 +07:00
crazywhalecc
7b79767355
Add retry mechanism to Git clone and GitHub release fetching methods
2026-05-09 14:13:47 +08:00
crazywhalecc
e6642459b8
Fix opentelemetry strict flag
2026-05-09 12:16:48 +08:00
crazywhalecc
ad7475246f
Merge remote-tracking branch 'origin/v3-docs/readme' into v3-docs/readme
2026-05-09 10:33:10 +08:00