Added detection for AMD 64-bit CPUs

This commit is contained in:
Skyler Lehmkuhl 2012-01-08 13:50:20 -05:00
parent 0cecdeb6e5
commit 6c22163c75
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ if sys.platform=="linux2":
PLATFORM = 'linuxARM' PLATFORM = 'linuxARM'
elif (not id) or (not re.match('(x|i[3-6])86$', id) is None): elif (not id) or (not re.match('(x|i[3-6])86$', id) is None):
PLATFORM = 'linux32' PLATFORM = 'linux32'
elif id == 'x86_64': elif id.lower() in ('x86_64', "amd64"):
PLATFORM = 'linux64' PLATFORM = 'linux64'
elif "ppc" in plid.lower(): elif "ppc" in plid.lower():
PLATFORM = "linuxPPC" PLATFORM = "linuxPPC"