mirror of
https://github.com/k2-fsa/sherpa-onnx.git
synced 2026-01-09 07:41:06 +08:00
Support armv8l in Java API (#2556)
This commit is contained in:
parent
b0f355721b
commit
daac04bdaf
@ -189,7 +189,9 @@ public class LibraryUtils {
|
||||
detectedArch = "x86";
|
||||
} else if (arch.startsWith("aarch64") || arch.startsWith("arm64")) {
|
||||
detectedArch = "aarch64";
|
||||
} else {
|
||||
} else if (arch.startsWith("arm")) {
|
||||
detectedArch = "arm"; //armv8l架构
|
||||
} else {
|
||||
throw new IllegalStateException("Unsupported arch:" + arch);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user