llama.cpp
093e3f1f - cmake : Handle mixed-case 'Power' strings in POWER CPU detection (#13966)

Commit
202 days ago
cmake : Handle mixed-case 'Power' strings in POWER CPU detection (#13966) Some systems report the CPU implementation as "Power11" instead of "POWER11". The existing CMake logic uses a case-sensitive regular expression to extract the CPU generation, which fails when the casing doesn't exactly match "POWER". This patch provides a fix by first converting the string to uppercase before applying the regex. Signed-off-by: root <root@rheldb2v.pperf.tadn.ibm.com> Co-authored-by: root <root@rheldb2v.pperf.tadn.ibm.com>
Author
Parents
Loading