Skip to content

fix(build): link libgomp + fetch llama.cpp submodules#15

Merged
mrhegemon merged 1 commit into
mainfrom
fix/llama-curl-build
Jul 3, 2026
Merged

fix(build): link libgomp + fetch llama.cpp submodules#15
mrhegemon merged 1 commit into
mainfrom
fix/llama-curl-build

Conversation

@mrhegemon

Copy link
Copy Markdown
Member

Two link failures remained after LLAMA_CURL=ON (which doesn't help — b8250 uses cpp-httplib for downloads regardless):

  • ggml-cpu.c needs OpenMP (GOMP_/omp_) but libgomp wasn't linked -> add gomp.
  • llama.cpp common/download.cpp references cpp-httplib symbols that resolve to nothing; fetch llama.cpp's vendored submodules (--recurse-submodules) so its bundled cpp-httplib implementation is present at build.

Two link failures remained after LLAMA_CURL=ON (which doesn't help — b8250 uses
cpp-httplib for downloads regardless):
- ggml-cpu.c needs OpenMP (GOMP_*/omp_*) but libgomp wasn't linked -> add gomp.
- llama.cpp common/download.cpp references cpp-httplib symbols that resolve to
  nothing; fetch llama.cpp's vendored submodules (--recurse-submodules) so its
  bundled cpp-httplib implementation is present at build.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mrhegemon
mrhegemon merged commit f8c72ce into main Jul 3, 2026
5 checks passed
@mrhegemon
mrhegemon deleted the fix/llama-curl-build branch July 3, 2026 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant