]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
build : use umbrella Headers directory for XCFramework module map (#23974)
authorGerard Martinez <redacted>
Thu, 4 Jun 2026 10:58:25 +0000 (03:58 -0700)
committerGitHub <redacted>
Thu, 4 Jun 2026 10:58:25 +0000 (12:58 +0200)
commit4d742877b2631bd9094bc7603bc59b65940563e2
tree4622dedd96727ea139f5d4dbe2329bd03d3a0820
parent0066404085f0338df7e214c8a5deacf4a23a02a9
build : use umbrella Headers directory for XCFramework module map (#23974)

The XCFramework generated by build-xcframework.sh creates a module map
that manually lists public headers.

That list can fall out of sync with the framework's Headers directory.
The module map is currently missing ggml-opt.h, which is present in the
framework headers. This can cause downstream Apple builds to fail with:

    Include of non-modular header inside framework module 'llama'

Use the framework's Headers directory itself as the module map umbrella
instead of maintaining a manual header list. This makes all public headers
under the generated framework's Headers directory part of the llama module.
build-xcframework.sh