Guest User

Untitled

a guest
Oct 22nd, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. {
  2. 'x86': ['i386', 'i486', 'i586', 'i686'],
  3. 'x86_64': ['AMD64', 'amd64', 'em64t', 'EM64T', 'x86_64'],
  4. 'ia64': ['IA64']
  5. }
  6.  
  7. # Dict to 'canonalize' the arch
  8. _ARCH_TO_CANONICAL = {
  9. "amd64" : "amd64",
  10. "emt64" : "amd64",
  11. "i386" : "x86",
  12. "i486" : "x86",
  13. "i586" : "x86",
  14. "i686" : "x86",
  15. "ia64" : "ia64",
  16. "itanium" : "ia64",
  17. "x86" : "x86",
  18. "x86_64" : "amd64",
  19. }
  20.  
  21. # Given a (host, target) tuple, return the argument for the bat file. Both host
  22. # and targets should be canonalized.
  23. _HOST_TARGET_ARCH_TO_BAT_ARCH = {
  24. ("x86", "x86"): "x86",
  25. ("x86", "amd64"): "x86_amd64",
  26. ("amd64", "amd64"): "amd64",
  27. ("amd64", "x86"): "x86",
  28. ("x86", "ia64"): "x86_ia64"
  29. }
Add Comment
Please, Sign In to add comment