Repository navigation
hrx: compile against the loomc C API that ships (builder create/release) - #434
Merged
bong-water-water-bong merged 1 commit intoNov 20, 2026
Merged
Conversation
loom-jit.cpp called loomc_link_index_builder_allocate and used loomc_link_index_builder_free as the deleter; the installed loomc exposes loomc_link_index_builder_create and loomc_link_index_builder_release (see loomc/link_index.h:302/312). The unit therefore did not compile at all against the package, so no HRX test binary in a package-configured tree could be built: loom-jit.cpp:223: error: 'loomc_link_index_builder_free' was not declared in this scope Same three call sites, renamed. loom-jit.cpp.o now builds.
bong-water-water-bong
added a commit
that referenced
this pull request
Nov 20, 2026
… API the pinned hrx-system predates (engine#2916) (#446) loom-jit.cpp was changed to loomc_link_index_builder_create/_release by 5635e24 (carried by #434), written against an installed loomc from hrx-system 0b1422f63 -- which is an ANCESTOR of the tree the engine pins (7f423692). So the rename moved the fork onto names the pin had already removed: loom-jit.cpp:223: 'loomc_link_index_builder_release' was not declared; did you mean '..._free'? loom-jit.cpp:756: 'loomc_link_index_builder_create' was not declared Three call sites, back to the allocate/free pair every other handle in the file already uses. This reverts the hunk only: #432's CMake targets and #436/#438 are untouched. Co-authored-by: bong-water-water-bong <[email protected]>
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.
ggml/src/ggml-hrx/loom-jit.cppdid not compile against the installedloomcpackage, so in a package-configured tree no HRX test binary could be built at all:The shipped API (
include/loomc/link_index.h:302and:312, and the exported symbols inlibloomc.so) is:This renames the three call sites: the deleter in the
LoomLinkIndexBuilderalias (_free→_release) and the two allocate calls (_allocate→_create).The
HRX_SOURCE_DIRbranch builds loomc from source and is unaffected; only the installed-package path was broken.Verification
loom-jit.cpp.ocompiles;make test-hrx-opsthen links and passesfa_decode_split5/5 on gfx1201 (evidence in #433, which is stacked on this).