mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Handle i686
This commit is contained in:
parent
97ca11750f
commit
ff270de470
1 changed files with 3 additions and 0 deletions
|
|
@ -46,6 +46,9 @@ def fetch_zip(commit_hash, zip_dir, *, org='python', binary=False, verbose):
|
|||
|
||||
def fetch_release(tag, tarball_dir, *, org='python', verbose=False):
|
||||
arch = platform.machine()
|
||||
# i686 (32-bit) builds can use x64 LLVM for cross-compilation
|
||||
if arch == 'x86':
|
||||
arch = 'AMD64'
|
||||
reporthook = None
|
||||
if verbose:
|
||||
reporthook = print
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue