llama.cpp
96c1db26 - ggml-base: use MATH_LIBRARY variable instead of hardcoded 'm' (#22239)

Commit
86 days ago
ggml-base: use MATH_LIBRARY variable instead of hardcoded 'm' (#22239) Fixes #22237 — the find_library(MATH_LIBRARY m) result was being discarded and the target linked against the literal 'm' string. This prevents users from overriding the math library (e.g. for AMD AOCL) via CMake variables. Now the discovered MATH_LIBRARY is used directly.
Author
Parents
Loading