Skip to content

cmake : Use x86-64 microarchitecture level -march when sufficient features are selected - #28621

Open
bberberov wants to merge 1 commit into
ggml-org:masterfrom
bberberov:x86-levels
Open

bberberov wants to merge 1 commit into
ggml-org:masterfrom
bberberov:x86-levels

Conversation

@bberberov

Copy link
Copy Markdown
Contributor

Overview

When compiling with GGML_CPU_ALL_VARIANTS on x86-64, and the necessary features are selected for a particular CPU backend, it adds the -march flag for the appropriate x86-64 microarchitecture level.

I've used this patch for a couple of months and have not noticed any issues.

Requirements

@bberberov
bberberov requested a review from ggerganov as a code owner September 9, 2026 00:28
@github-actions github-actions Bot added the ggml changes relating to the ggml tensor library for machine learning label Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ggml changes relating to the ggml tensor library for machine learning

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant