Skip to content

Commit 6329dba

Browse files
authored
Update python instructions for compiling Julia on Windows (#38088)
1 parent b08ad36 commit 6329dba

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Make.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ ARCH:=
9696

9797
# We need python for things like BB triplet recognition and relative path computation.
9898
# We don't really care about version, generally, so just find something that works:
99-
PYTHON := "$(shell which python 2>/dev/null || which python3 2>/dev/null || which python2 2>/dev/null || echo not found)"
99+
PYTHON := "$(shell which python 2>/dev/null || which python3 2>/dev/null || which python2 2>/dev/null || echo "{python|python3|python2} not found")"
100100
PYTHON_SYSTEM := $(shell $(PYTHON) -c 'from __future__ import print_function; import platform; print(platform.system())')
101101

102102
# If we're running on Cygwin, but using a native-windows Python, we need to use cygpath -w

doc/build/windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ MinGW-w64 compilers available through Cygwin's package manager.
9090

9191
Advanced: you may skip steps 2-4 by running:
9292

93-
setup-x86_64.exe -s <url> -q -P cmake,gcc-g++,git,make,patch,curl,m4,python,p7zip,mingw64-i686-gcc-g++,mingw64-i686-gcc-fortran,mingw64-x86_64-gcc-g++,mingw64-x86_64-gcc-fortran
93+
setup-x86_64.exe -s <url> -q -P cmake,gcc-g++,git,make,patch,curl,m4,python3,p7zip,mingw64-i686-gcc-g++,mingw64-i686-gcc-fortran,mingw64-x86_64-gcc-g++,mingw64-x86_64-gcc-fortran
9494
:: replace <url> with a site from https://cygwin.com/mirrors.html
9595
:: or run setup manually first and select a mirror
9696

@@ -100,7 +100,7 @@ MinGW-w64 compilers available through Cygwin's package manager.
100100

101101
1. From the *Devel* category: `cmake`, `gcc-g++`, `git`, `make`, `patch`
102102
2. From the *Net* category: `curl`
103-
3. From *Interpreters* (or *Python*) category: `m4`, `python`
103+
3. From *Interpreters* (or *Python*) category: `m4`, `python3`
104104
4. From the *Archive* category: `p7zip`
105105
5. For 32 bit Julia, and also from the *Devel* category:
106106
`mingw64-i686-gcc-g++` and `mingw64-i686-gcc-fortran`

0 commit comments

Comments
 (0)