mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-03 02:27:40 +02:00
-ffast-math implies -ffinite-math-only under ROCm/clang 22, which disables INFINITY/NaN and triggers -Wnan-infinity-disabled (errors under -Werror in CI). Re-enable infinity handling without dropping the rest of fast-math. Fixes #25361