mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
install: fix #1205
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -166,7 +166,7 @@ for (const line of lines) {
|
||||
}
|
||||
let avx = true;
|
||||
const cpuInfoFile = readFileSync('/proc/cpuinfo', 'utf-8');
|
||||
if (!cpuInfoFile.includes('avx') && !installAsJudge) {
|
||||
if (!cpuInfoFile.includes('avx') && process.arch === 'x64' && !installAsJudge) {
|
||||
avx = false;
|
||||
log.warn('warn.avx');
|
||||
warnings.push(['warn.avx']);
|
||||
|
||||
Reference in new issue
Block a user