Repository navigation
2026.11.18.1: a row's object format and names are data (row, system, format); openkal-platform 0.29.2 is the default - #951
Merged
Conversation
…host; e2e 1116 runs wherever the LLVM payload is
…nd ios beside freebsd; the rows snapshot
…in the engine for it
Sunrisepeak
added a commit
to mcpplibs/mcpp-index
that referenced
this pull request
Nov 17, 2026
The entry listed Linux hosts only, so a macOS or Windows host could not install the package and the rows it serves could not be built there from the index (measured in mcpp's e2e 1116, mcpp-community/mcpp#951). A member names the release for those rows.
…tem, format The engine answered them by a branch per system, and a built-in row without a branch took the host's naming. One reading serves the built-in rows and a platform's: the row's statement, its system's ([[platform.system]] accepts object-format, exe-suffix and shared-suffix), then the convention of the object format. The built-in table states what the branches expressed; the rows snapshot is unchanged by the move and the system-name baseline falls. SPEC-016 v1.5, docs/35, design record section 12, e2e 1117.
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.
The defect
The engine answered a row's object format and artifact names by a branch per system (
windows,macos,linux,openkal,emscripten), and a built-in row without a branch took the host's naming. A platform's rows were read from data. On a Windows host a FreeBSD row's program was thereforebin/<name>.exeand its archives.lib, while the NetBSD and OpenBSD rows a platform package defines built there at once. Measured in mcpp-community/mcpp-platforms#4: with the FreeBSD sysroot's revision 2 the build ofx86_64-freebsdfinished onwindows-2025and nobin/helloexisted. 21 rows of the snapshot answered with the host's naming (FreeBSD, bare metal, iOS).It was not seen in #949 because e2e 1116, the case about this, carried the capability
llvm, which is a Linux one: the case never ran on the two hosts it is about.The change
One reading for every row, built-in or a platform's (SPEC-016 v1.5; design record §12):
object-format,exe-suffixandshared-suffixare read in three steps, the first statement taken: the row, its system ([[platform.system]]), the convention of the object format (elf, mach-o, pe, coff, wasm). The engine names no system for it, and the host's naming answers only for a triple that is neither a row nor of a system the table states.[[platform.system]]accepts the three keys, in the built-in table and in a platform package alike. A[[platform.define]]row may leaveobject-formatunstated: it is its system's, then ELF.peon the systemwindows,mach-oonmacosand on the iOS rows,.oke/.oksoon the ok image rows,.jsonwasm32-emscripten. The rows snapshot is identical before and after that move, and the system-name baseline falls (linux 63→62, macos 51→49, windows 72→70, emscripten 18→17, ios 24→23).[email protected]is the default platform of the rows openkal serves: it states the hosts of each runner, sox86_64-windows-muslon a Windows host runs with no runner without the project stating the release.Tests
tests/unit/test_artifact_naming.cpp: a FreeBSD row and a row of each format from a bogus host; row before system before format, over a platform's definitions; a triple of a stated system that is no row.tests/unit/test_platform.cpp: the manifest reads the three system keys and a row withoutobject-format.scan-deps), and holds the program to the row's exact name; it needs mcpp.platforms 0.1.0 lists every host mcpplibs/mcpp-index#818 (the platform package's entry listed Linux hosts only).exe-suffix; a row that states none takes it, a row that states its own keeps it.With it
The FreeBSD rows link on a Windows host with the sysroot packages' revision 2 (openxlings/xim-pkgindex#1184: zlib-compressed debug sections of the crt objects and static archives, which the lld of the Windows LLVM payload does not read, are held decompressed). No change of mcpp was needed for that.
Compatibility
Published platform packages were read row by row: their PE and COFF rows state
exe-suffix, their ELF rows state none, and the three steps give them the names they had. Two readings differ for rows no published package has: a platform's PE row withoutexe-suffixis.exe(was no suffix), and a platform's row withoutobject-formattakes its system's before ELF.Version 2026.11.18.1; CHANGELOG, SPEC-016, docs/35 and the design record state the change.