Fix SSE detection on Linux hosts.
This commit is contained in:
parent
17e47799bd
commit
5d45c0cb03
1 changed files with 1 additions and 1 deletions
|
@ -1214,7 +1214,7 @@ if not preconfigured:
|
||||||
break
|
break
|
||||||
elif "linux" in sys.platform:
|
elif "linux" in sys.platform:
|
||||||
for line in open("/proc/cpuinfo"):
|
for line in open("/proc/cpuinfo"):
|
||||||
if "flags" in line and "SSE" in line:
|
if "flags" in line and "sse" in line:
|
||||||
if "USE_SSE" in env and env["USE_SSE"] == "detect":
|
if "USE_SSE" in env and env["USE_SSE"] == "detect":
|
||||||
color_print(4,'SSE detected on Linux host')
|
color_print(4,'SSE detected on Linux host')
|
||||||
SSE_DETECTED = True
|
SSE_DETECTED = True
|
||||||
|
|
Loading…
Reference in a new issue