mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 01:36:05 +00:00

Hi there, When building llvm-libc on the openEuler system, I encountered an issue as shown in the image below:  This issue happens because the regular expression used in `libc/cmake/modules/LLVMLibCArchitectures.cmake`: `string(REGEX MATCH "Target: [-_a-z0-9.]+[ \r\n]+")` does not handle capital letters properly in `openEuler`. To fix this, I modified the regular expression to: `string(REGEX MATCH "Target: [-_a-zA-Z0-9.]+[ \r\n]+")`. This change makes it compatible with capital letters.