3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00

no uname on nt

This commit is contained in:
Nikolaj Bjorner 2022-04-08 07:02:32 +02:00
parent 1346a168a1
commit 79553261d1

View file

@ -621,8 +621,9 @@ elif os.name == 'posix':
LINUX_X64=True LINUX_X64=True
else: else:
LINUX_X64=False LINUX_X64=False
if os.uname()[4] == 'arm64': if os.name == 'posix' and os.uname()[4] == 'arm64':
IS_ARCH_ARM64 = True IS_ARCH_ARM64 = True