You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 20, 2026. It is now read-only.
Add ashvardanian/StringZilla to llarhub. Preserve the useful package semantics expressed by the Conan recipe, but produce an idiomatic LLAR Formula rather than a line-by-line rewrite of conanfile.py.
Read and follow .agents/skills/write-formula/SKILL.md and both required references before editing.
Translation process
Read config.yml, conandata.yml, conanfile.py, and test_package to identify the source tags, build behavior, options, installed interface, and consumer verification.
Resolve the exact upstream tag for Conan version 3.11.3 from conandata.yml, preserving its spelling. Inspect that exact upstream revision before choosing any dependency, flag, output, metadata, or test.
Compare the other versions served by the same Conan recipe folder and choose the earliest verified LLAR fromVer boundary. One Formula may serve a version range only when the upstream build contract remains compatible. Add another threshold instead of claiming an unverified range.
The automated preselection found no Conan requirements, tool_requires, or test_requires calls. Verify direct dependencies from the upstream source anyway. Never invent dependencies. When dependency versions can change within the Formula range, prefer source-synchronized onRequire; use versions.json only as an exact-version conservative fallback.
Translate only settings and options that materially affect dependencies, commands, installed output, metadata, tests, or platform support. Environment dimensions belong in target.require; package-owned choices belong in target.options. defaults supplies option defaults, and filter rejects only combinations proved unsupported. Do not use runtime.GOOS or runtime.GOARCH; read the selected platform from target.require["os"] and target.require["arch"].
Inspect every Conan patch or exported source when present. Carry over only behavior required by the selected upstream revision. Do not copy Conan layout helpers, generated toolchains, packaging cleanup, compatibility branches, or defensive flags without upstream evidence.
This package is header-only. onBuild should install the public headers (and any adjacent public files) into ctx.outputDir without compiling the library itself. Do not invent a CMakeLists.txt or replacement Makefile.
Derive ctx.setMetadata from the actual installed consumer interface. Prefer valid installed package metadata when available; do not guess flags from the Conan package_info block. For C/C++ libraries that expose pkg-config, install a relocatable .pc and set metadata from the complete pkgconfig.lookup cflags-and-libs result.
Add onTest using the Conan test_package as the consumer behavior reference. Compile and run or load a small consumer against the installed result. Keep its build tree independent of the onBuild scratch tree so the test also works on a cache hit.
Keep the change limited to the module files for ashvardanian/StringZilla. Do not add a generic Conan importer and do not modify the Formula skill.
Validation
Run the repository-required checks and test the exact upstream tag corresponding to Conan 3.11.3:
llar test -v ./ashvardanian/StringZilla@<exact-upstream-tag>
Also test representative versions across every claimed Formula range, the default selection, and each retained output-changing option with explicit host --os and --arch values. Re-run one selection to verify cache-hit onTest behavior.
Translate the Conan Center
stringzillarecipe into an LLAR Formula in this repository.Source material
d034b32b3106d282c32f0a23314b5c6ba1b0fa693.11.3nonoGoal
Add
ashvardanian/StringZillato llarhub. Preserve the useful package semantics expressed by the Conan recipe, but produce an idiomatic LLAR Formula rather than a line-by-line rewrite ofconanfile.py.Read and follow
.agents/skills/write-formula/SKILL.mdand both required references before editing.Translation process
config.yml,conandata.yml,conanfile.py, andtest_packageto identify the source tags, build behavior, options, installed interface, and consumer verification.3.11.3fromconandata.yml, preserving its spelling. Inspect that exact upstream revision before choosing any dependency, flag, output, metadata, or test.fromVerboundary. One Formula may serve a version range only when the upstream build contract remains compatible. Add another threshold instead of claiming an unverified range.requirements,tool_requires, ortest_requirescalls. Verify direct dependencies from the upstream source anyway. Never invent dependencies. When dependency versions can change within the Formula range, prefer source-synchronizedonRequire; useversions.jsononly as an exact-version conservative fallback.target.require; package-owned choices belong intarget.options.defaultssupplies option defaults, andfilterrejects only combinations proved unsupported. Do not useruntime.GOOSorruntime.GOARCH; read the selected platform fromtarget.require["os"]andtarget.require["arch"].onBuildshould install the public headers (and any adjacent public files) intoctx.outputDirwithout compiling the library itself. Do not invent a CMakeLists.txt or replacement Makefile.ctx.setMetadatafrom the actual installed consumer interface. Prefer valid installed package metadata when available; do not guess flags from the Conanpackage_infoblock. For C/C++ libraries that expose pkg-config, install a relocatable.pcand set metadata from the completepkgconfig.lookupcflags-and-libs result.onTestusing the Conantest_packageas the consumer behavior reference. Compile and run or load a small consumer against the installed result. Keep its build tree independent of theonBuildscratch tree so the test also works on a cache hit.ashvardanian/StringZilla. Do not add a generic Conan importer and do not modify the Formula skill.Validation
Run the repository-required checks and test the exact upstream tag corresponding to Conan
3.11.3:Also test representative versions across every claimed Formula range, the default selection, and each retained output-changing option with explicit host
--osand--archvalues. Re-run one selection to verify cache-hitonTestbehavior.