]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml-base: use MATH_LIBRARY variable instead of hardcoded 'm' (llama/22239)
authorGeorgi Gerganov <redacted>
Thu, 23 Apr 2026 05:22:08 +0000 (08:22 +0300)
committerGeorgi Gerganov <redacted>
Thu, 30 Apr 2026 08:29:17 +0000 (11:29 +0300)
commit1aba06173778618cc3d56ce6201eb703935c5e99
tree51e62f648f222e554e6c38e27eb8f584077a4e79
parentb938c5026c42d5a1c3a11665fe714cc1768d0823
ggml-base: use MATH_LIBRARY variable instead of hardcoded 'm' (llama/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.
ggml/src/CMakeLists.txt