[PR #8129] [CLOSED] build: Enable -mf16c and -mfma in ROCm on x86 only #23179

Closed
opened 2026-04-19 16:49:00 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8129
Author: @hack3ric
Created: 12/17/2024
Status: Closed

Base: mainHead: rocm-fix


📝 Commits (1)

  • a81f100 build: Enable -mf16c and -mfma in ROCm on x86 only

📊 Changes

1 file changed (+5 additions, -2 deletions)

View changed files

📝 make/Makefile.rocm (+5 -2)

📄 Description

These flags are not available outside of x86. I've successfully built Ollama with ROCm support on RISC-V hardware and Arch Linux RISC-V.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/8129 **Author:** [@hack3ric](https://github.com/hack3ric) **Created:** 12/17/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `rocm-fix` --- ### 📝 Commits (1) - [`a81f100`](https://github.com/ollama/ollama/commit/a81f1004451d15baee1f1c122edc3f1c853afd95) build: Enable -mf16c and -mfma in ROCm on x86 only ### 📊 Changes **1 file changed** (+5 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `make/Makefile.rocm` (+5 -2) </details> ### 📄 Description These flags are not available outside of x86. I've successfully built Ollama with ROCm support on RISC-V hardware and Arch Linux RISC-V. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-19 16:49:00 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#23179