Skip to content

Commit 9e95dd6

Browse files
committed
docs(pkg): record libevent GCC probe fix
1 parent 4dabc28 commit 9e95dd6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.agents/docs/2026-10-02-add-libevent-plan.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
- License: BSD-3-Clause for the main sources, ISC for arc4random included by `evutil_rand.c`, and MIT for the Windows timer code derived from libutp (`evutil_time.c`; see upstream LICENSE). The separate wepoll and TLS integrations are not compiled.
77
- Mirror: no GitCode credentials/assets available; use a plain upstream URL (not a fictional CN URL).
88
- Local Linux verification: mcpp 2026.10.1.2 `mcpp xpkg parse --all-os pkgs/c/compat.libevent.lua` reports 24/24/25 sources; cold `mcpp test -p libevent --cache off` passed under GCC 16.1.0. The test deliberately uses `EVLOOP_ONCE` because `event_base_dispatch()` returns one after a one-shot timer drains the queue even when its callback ran.
9-
- The first PR #503 Linux-GCC CI run found CMake's platform probes produced an incomplete `event-config.h` (missing pointer-size and socket/address-family macros) when run through the ambient toolchain wrapper. The install hook now selects native `/usr/bin/cc` for CMake's Linux/macOS host probes; mcpp still compiles the package sources with the selected consumer compiler. A cold Linux GCC build passes with this fix; the PR's next matrix must reconfirm Linux, macOS and Windows.
9+
- PR #503 initially failed only on Linux default GCC: CMake's host probes produced an incomplete `event-config.h` (missing pointer-size and socket/address-family macros) when using the ambient toolchain wrapper. The hook now selects native `/usr/bin/cc` for CMake's Linux/macOS host probes; mcpp still compiles the sources with the selected consumer compiler. The fix passed a cold local Linux GCC build and the full PR matrix on Linux GCC/LLVM, macOS and Windows.
10+
- The final PR validation run passed lint, mirror checks, build, Linux default, all Linux LLVM shards, macOS, and Windows. Results: [PR #503 checks](https://github.com/mcpplibs/mcpp-index/pull/503/checks).

0 commit comments

Comments
 (0)