Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- 'x86': ['i386', 'i486', 'i586', 'i686'],
- 'x86_64': ['AMD64', 'amd64', 'em64t', 'EM64T', 'x86_64'],
- 'ia64': ['IA64']
- }
- # Dict to 'canonalize' the arch
- _ARCH_TO_CANONICAL = {
- "amd64" : "amd64",
- "emt64" : "amd64",
- "i386" : "x86",
- "i486" : "x86",
- "i586" : "x86",
- "i686" : "x86",
- "ia64" : "ia64",
- "itanium" : "ia64",
- "x86" : "x86",
- "x86_64" : "amd64",
- }
- # Given a (host, target) tuple, return the argument for the bat file. Both host
- # and targets should be canonalized.
- _HOST_TARGET_ARCH_TO_BAT_ARCH = {
- ("x86", "x86"): "x86",
- ("x86", "amd64"): "x86_amd64",
- ("amd64", "amd64"): "amd64",
- ("amd64", "x86"): "x86",
- ("x86", "ia64"): "x86_ia64"
- }
Add Comment
Please, Sign In to add comment