Added detection for AMD 64-bit CPUs
This commit is contained in:
parent
0cecdeb6e5
commit
6c22163c75
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue