[GH-ISSUE #7520] Build instructions in https://github.com/ollama/ollama/blob/main/llama/README.md are outdated or non-functional #4782

Closed
opened 2026-04-12 15:43:49 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @yeahdongcn on GitHub (Nov 6, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7520

What is the issue?

Following the build instructions in README.md for Linux/CUDA results in an error when running make ggml_cuda.so. The error is:

make: *** No rule to make target 'ggml_cuda.so'.  Stop.

Could you please confirm if the documentation needs to be updated?

OS

Linux

GPU

Other

CPU

Intel

Ollama version

main branch

Originally created by @yeahdongcn on GitHub (Nov 6, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7520 ### What is the issue? Following the build instructions in [README.md](https://github.com/ollama/ollama/blob/main/llama/README.md#cuda) for Linux/CUDA results in an error when running `make ggml_cuda.so`. The error is: ```bash make: *** No rule to make target 'ggml_cuda.so'. Stop. ``` Could you please confirm if the documentation needs to be updated? ### OS Linux ### GPU Other ### CPU Intel ### Ollama version main branch
GiteaMirror added the documentationbuild labels 2026-04-12 15:43:49 -05:00
Author
Owner

@nikhil-swamix commented on GitHub (Nov 6, 2024):

which cuda version and ollama version , please mention.

<!-- gh-comment-id:2458817576 --> @nikhil-swamix commented on GitHub (Nov 6, 2024): which cuda version and ollama version , please mention.
Author
Owner

@yeahdongcn commented on GitHub (Nov 6, 2024):

which cuda version and ollama version , please mention.

cuda 12.

But this document doesn't mention any variations or alternative commands. Could you please confirm if the build steps need updating?

<!-- gh-comment-id:2458879687 --> @yeahdongcn commented on GitHub (Nov 6, 2024): > which cuda version and ollama version , please mention. cuda 12. But this document doesn't mention any variations or alternative commands. Could you please confirm if the build steps need updating?
Author
Owner

@dhiltgen commented on GitHub (Jul 4, 2025):

Current OS-specific build instructions are located at https://github.com/ollama/ollama/blob/main/docs/development.md and should be current now.

<!-- gh-comment-id:3037211963 --> @dhiltgen commented on GitHub (Jul 4, 2025): Current OS-specific build instructions are located at https://github.com/ollama/ollama/blob/main/docs/development.md and should be current now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#4782