[pypy-svn] pypy default: On Win64 running a (32-bit) PyPy we get 'AMD64'.
arigo
commits-noreply at bitbucket.org
Mon Feb 7 20:15:16 CET 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r41684:42457f587e82
Date: 2011-02-07 20:14 +0100
http://bitbucket.org/pypy/pypy/changeset/42457f587e82/
Log: On Win64 running a (32-bit) PyPy we get 'AMD64'.
diff --git a/pypy/jit/backend/detect_cpu.py b/pypy/jit/backend/detect_cpu.py
--- a/pypy/jit/backend/detect_cpu.py
+++ b/pypy/jit/backend/detect_cpu.py
@@ -32,7 +32,8 @@
'x86': 'x86', # Apple
'Power Macintosh': 'ppc',
'x86_64': 'x86',
- 'amd64': 'x86' # freebsd
+ 'amd64': 'x86', # freebsd
+ 'AMD64': 'x86', # win64
}[mach]
except KeyError:
return mach
More information about the Pypy-commit
mailing list