0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-19 09:51:19 +02:00

Removed dlib --yes flag, as per #122

This commit is contained in:
boltgolt 2019-03-29 22:30:23 +01:00
parent 8537366154
commit f9abedef95
No known key found for this signature in database
GPG key ID: BECEC9937E1AAE26

18
debian/postinst vendored
View file

@ -159,24 +159,6 @@ log("Building dlib")
cmd = ["sudo", "python3", "setup.py", "install"]
cuda_used = False
flags = ""
# Get the CPU details
with open("/proc/cpuinfo") as info:
for line in info:
if "flags" in line:
flags = line
break
# Use the most efficient instruction set the CPU supports
if "avx" in flags:
cmd += ["--yes", "USE_AVX_INSTRUCTIONS"]
elif "sse4" in flags:
cmd += ["--yes", "USE_SSE4_INSTRUCTIONS"]
elif "sse3" in flags:
cmd += ["--yes", "USE_SSE3_INSTRUCTIONS"]
elif "sse2" in flags:
cmd += ["--yes", "USE_SSE2_INSTRUCTIONS"]
# Compile and link dlib
try: