Repository navigation
mcpp 2026.11.22.1: static-API macros on Windows, the workspace's indices, 28 wrapper revisions, sdl2 and taskflow under clang 23 - #873
Merged
Conversation
…sts/openkal/pins.toml)
…ects (mcpp 2026.11.21.1, SPEC-001 §4.5)
…3's MSVC ABI (revision 1) compat.sdl2: clang 23 makes _m_prefetch a builtin, and SDL 2.32.10's SDL_endian.h defines it for an MSVC-ABI clang; install() backports the SDL2 branch's !_SDL_HAS_BUILTIN(_m_prefetch) guard, which no 2.32.x release carries yet. taskflow.taskflow: tfprof.hpp's two namespace-scope static inline helpers are included by two module partitions, and their MSVC mangled names collide in a TU importing tf; install() makes them inline. Neither member had run on Windows in a full sweep since the Windows leg moved to llvm@23.1.3.
…ates none; dependency selectors unquoted
The root's [indices] compat = { path = "." } reached members by position,
a reading mcpp removes in 2027.1, and [workspace.indices] would merge it into
the members that name this checkout under another namespace (refused by mcpp
as index-location-named-twice) and into the mwrap members beside their
candidate index. The 149 members it reached state compat themselves; the 62
members whose empty [indices] only opted out of it state none. 29 members
write their dependency selectors unquoted (quoted-dotted-dependency-key,
deprecated 2026.11.8.1, removed 2027.2).
…TU that includes it lzma.h and archive.h declare dllimport unless LZMA_API_STATIC and LIBARCHIVE_STATIC are defined. A consumer without them called through __imp_ slots lld-link made for the local definitions, and a link that collects sections (a test's link since mcpp 2026.11.9.1) dropped the functions behind them: the archive members exited 133 at their first call (mcpp#1002). MSVC's link.exe keeps the functions; lld-link does not. compat.xz, compat.libarchive, compat.fribidi and compat.libcoro state the macro as a staticlib feature that default implies, as compat.curl and compat.c-ares do. compat.cpptrace, compat.libassert and compat.yaml-cpp carried theirs through #include_next shims; they use the same feature, and the shims are removed. The schema documentation states that a feature's defines reach consumers.
…quoted fribidi 1.0.16.1, imgui 1.92.8.1, libarchive 3.8.7.1, libpng 1.6.43.1, lua 5.4.7.1, miniaudio 0.11.25.1, pocketpy 2.2.0.1, quickjs_ng 0.17.0.1, sdl3 3.4.18.1, xxhash 0.8.3.1, xz 5.8.3.2, zlib 1.3.2.1 and zstd 1.5.7.1; GitCode carries the same bytes where the package had a CN mirror. The installed-template checks name the revisions, and the check refuses a template that writes its dependency key quoted instead of allowing its deprecation warning.
This was referenced Nov 22, 2026
…nquoted
accesskit 0.23.1.1, box2d 3.2.0.1, concurrentqueue 1.0.5.1, dr_libs
2026.03.03.1, freetype 2.13.3.1, godot_cpp 10.0.0.1, harfbuzz 14.3.0.1,
libc 17.0.0.1, libvpx 1.17.0.1, libwebp 1.5.0.1, md4c 0.5.3.1, mimalloc
3.6.1.1, opus 1.6.1.1 and sheenbidi 3.0.0.1, whose latest templates wrote
"{{self.name}}" as well (measured on each latest tag's
templates/**/mcpp.toml.in); GitCode carries the same bytes where the
package had a CN mirror. The installed-template checks name the revisions.
mwrap-b10069.1 was tagged and never released: its release gate ran on a runner image whose clang reads the API snapshot differently. b10069.2 carries the same template change; GitCode carries the same bytes.
…sts/openkal/pins.toml)
… the workspace's indices, 28 wrapper revisions, mcpp 2026.11.22.1)
…cts the uapi removal by kernel-abi = openkal
…heck mcpp 2026.11.22.1 makes
…each was cancelled at the 90-minute cap on a near-full sweep and on main's schedule
…f four shards were cancelled at the 90-minute cap on the re-run, packed by stale prices
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR is the mcpp-index side of the round (design 2026-11-22, mcpp 2026.11.22.1).
The CI uses mcpp 2026.11.22.1 (validate, xpkgindex-update, openkal-compat,
tests/openkal/pins.toml). The index floor (min_mcpp) is unchanged. The installed-template check reads the key that a written prefix selects (SPEC-001 §4.5).Windows: a static library states its static-API macro for every TU that includes its headers. This was the root cause of the startup crash, exit 133, in
archiveandlibarchive-bundle:lzma.handarchive.hdeclare their functions dllimport unless the macro is set. A consumer then called through__imp_slots that lld-link creates for the local definitions.staticlibfeature thatdefaultimplies, as compat.curl and compat.c-ares already did.#include_nextshims.definesreach the consumers.compat.sdl2 and taskflow.taskflow compile under clang 23's MSVC ABI (revision 1). compat.sdl2 backports the
_m_prefetchguard, and taskflow.taskflow changes the twostatic inlinefunctions toinline.The workspace states no index; each member states the one it tests through. A
[workspace.indices]entry would have given 79 members two names for the checkout, which mcpp 2026.11.22.1 refuses (index-location-named-twice). The 62 empty[indices]tables are removed. Dotted dependency selectors are unquoted.28 wrapper revisions whose templates write the selector unquoted. Every newest template was measured. GitCode carries the same bytes where the package had a CN mirror. The installed-template checks name the revisions and refuse a template that writes a quoted key.
CHANGELOG entries for all of the above.
compat.curand farms
libgcc_s.so.1fromxim:gcc-runtime.libcurand.so.10needs it, its DT_RUNPATH is$ORIGINalone, and a program LLVM links does not load it; the loader then takes it from the farm (measured withLD_DEBUG=libs). mcpp 2026.11.22.1's closure check expands$ORIGINat the target of the farm's link rather than at the farm and refuses the program, which runs; that check is corrected in feat: the kernel headers are the kernel-abi layer's; platform keys on every row; a row's interfaces; a generated unit's origin mcpp-community/mcpp#1006. Until the index CI uses that release, thecuda-curandmember of the LLVM leg reports this refusal.compat.libarchive selects its uapi removal by
kernel-abi = openkal, the layer the openkal rows state, rather than by the triple.mcpplibs.os 0.4.8:
fs::stamp_of(node, false), a link's own stamp, which mcpp's store roots read.CI: workspace shards macOS 3 → 4, Windows 5 → 6. On this PR's sweep of nearly every member and on main's scheduled sweep, the slowest macOS and Windows shards were cancelled at the 90-minute job cap while their siblings finished in 77 to 84 minutes.