Skip to content

Commit a41d58d

Browse files
committed
Use mx's python version to build pegparser
1 parent cf69a18 commit a41d58d

File tree

1 file changed

+4
-2
lines changed
  • graalpython/com.oracle.graal.python.pegparser.generator

1 file changed

+4
-2
lines changed

graalpython/com.oracle.graal.python.pegparser.generator/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
QUIETLY$(MX_VERBOSE) = @
22

33
PARSER_PATH ?= ../com.oracle.graal.python.pegparser/src/com/oracle/graal/python/pegparser
4-
ifdef PYTHON3_HOME
5-
PYTHON ?= ${PYTHON3_HOME}/python
4+
ifdef MX_PYTHON
5+
PYTHON ?= ${MX_PYTHON}
6+
else ifdef MX_PYTHON_VERSION
7+
PYTHON ?= python${MX_PYTHON_VERSION}
68
else
79
PYTHON ?= python3
810
endif

0 commit comments

Comments
 (0)