[GH-ISSUE #6885] Please support FreeBSD #30114

Closed
opened 2026-04-22 09:35:15 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @yurivict on GitHub (Sep 19, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6885

Hi,

We have the FreeBSD port for ollama version 0.3.6: https://cgit.freebsd.org/ports/tree/misc/ollama
However, later versions fail to compile because of this extensive patch that one user submitted: https://cgit.freebsd.org/ports/tree/misc/ollama/files/patch-FreeBSD-compatibility

FreeBSD is very similar to Linux and in general should just compile except for some bits from the above patch.

Could you please integrate these bits into ollama so that it would build out-of-the-box on FreeBSD?

Thank you,
Yuri

Originally created by @yurivict on GitHub (Sep 19, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6885 Hi, We have the FreeBSD port for ollama version 0.3.6: https://cgit.freebsd.org/ports/tree/misc/ollama However, later versions fail to compile because of this extensive patch that one user submitted: https://cgit.freebsd.org/ports/tree/misc/ollama/files/patch-FreeBSD-compatibility FreeBSD is very similar to Linux and in general should just compile except for some bits from the above patch. Could you please integrate these bits into ollama so that it would build out-of-the-box on FreeBSD? Thank you, Yuri
GiteaMirror added the feature request label 2026-04-22 09:35:15 -05:00
Author
Owner

@lee-b commented on GitHub (Sep 20, 2024):

Worth noting that it looks like merging this patch to ollama would add support for not just FreeBSD, but OpenBSD, Dragonfly BSD, and NetBSD too.

The port maintainer would probably need to be involved to remove their patch if this was merged to ollama, but they might be willing to work on both aspects.

<!-- gh-comment-id:2363908785 --> @lee-b commented on GitHub (Sep 20, 2024): Worth noting that it looks like merging this patch to ollama would add support for not just FreeBSD, but OpenBSD, Dragonfly BSD, and NetBSD too. The port maintainer would probably need to be involved to remove their patch if this was merged to ollama, but they might be willing to work on both aspects.
Author
Owner

@pdevine commented on GitHub (Sep 20, 2024):

Hey guys, thanks for the issue. It is something we've talked about but it's hard to support a lot of different platforms w/ lots of different GPUs.

There is an existing issue which is tracking this: #1102 so let's keep tracking that there. If there's enough demand we'll definitely up the priority.

<!-- gh-comment-id:2364244041 --> @pdevine commented on GitHub (Sep 20, 2024): Hey guys, thanks for the issue. It is something we've talked about but it's hard to support a lot of different platforms w/ lots of different GPUs. There is an existing issue which is tracking this: #1102 so let's keep tracking that there. If there's enough demand we'll definitely up the priority.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#30114