Skip to content

Commit

Permalink
#3592 warn if not building for 64-bits
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 9, 2022
1 parent fa3e6ed commit 79f521c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@
is_CentOS, is_AlmaLinux, is_RockyLinux, is_RedHat, is_openSUSE, is_OracleLinux,
)

if BITS!=64:
print(f"Warning: {BITS}-bit architecture, only 64-bits are officially supported")
from time import sleep
for _ in range(5):
sleep(1)
print(".")


#*******************************************************************************
print(" ".join(sys.argv))
Expand Down

0 comments on commit 79f521c

Please sign in to comment.