Skip to content

Commit ff270de

Browse files
Handle i686
1 parent 97ca117 commit ff270de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PCbuild/get_external.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ def fetch_zip(commit_hash, zip_dir, *, org='python', binary=False, verbose):
4646

4747
def fetch_release(tag, tarball_dir, *, org='python', verbose=False):
4848
arch = platform.machine()
49+
# i686 (32-bit) builds can use x64 LLVM for cross-compilation
50+
if arch == 'x86':
51+
arch = 'AMD64'
4952
reporthook = None
5053
if verbose:
5154
reporthook = print

0 commit comments

Comments
 (0)