https://github.com/vitalybuka requested changes to this pull request. I suspect new code needs to be outside of "if(ANDROID OR (NOT APPLE AND ${arch} MATCHES "arm|aarch64|riscv32|riscv64"))" https://github.com/llvm/llvm-project/pull/120798