1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-08-10 22:31:47 +02:00

Update core/base/libs/socrate/socrate/system.py

Only check for avx2 is required

Co-authored-by: Florent Daigniere <nextgens@users.noreply.github.com>
This commit is contained in:
Dimitri Huisman
2023-10-06 13:51:05 +02:00
committed by GitHub
parent e70db935ec
commit 0379857ab5

View File

@@ -66,7 +66,7 @@ def _is_compatible_with_hardened_malloc():
lines = f.readlines()
for line in lines:
# See #2764, we need vmovdqu
if line.startswith('flags') and ' avx ' not in line and ' avx2 ' not in line:
if line.startswith('flags') and ' avx2 ' not in line:
return False
# See #2541
if line.startswith('Features') and ' lrcpc ' not in line: