Skip to content

fix: correct -llama to -lllama, add missing include/lib paths on main#33

Merged
jeanmachuca merged 1 commit into
mainfrom
fix/bridge-lllama
Jul 6, 2026
Merged

fix: correct -llama to -lllama, add missing include/lib paths on main#33
jeanmachuca merged 1 commit into
mainfrom
fix/bridge-lllama

Conversation

@jeanmachuca

Copy link
Copy Markdown
Member

Cherry-picks the bridge.go fix from development (#27) to main:

  • -llama-lllama (cmake target llamalibllama.a, correct linker flag)
  • Add -L...build/src (modern llama.cpp puts static archives in build/src/)
  • Add -I...ggml/include (llama.h includes ggml headers from there)

Without this fix, the CGo build on main fails with cannot find -llama.

@jeanmachuca jeanmachuca merged commit 92d3343 into main Jul 6, 2026
1 check failed
@jeanmachuca jeanmachuca deleted the fix/bridge-lllama branch July 6, 2026 03:19
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