File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,10 @@ export PYTHONDONTWRITEBYTECODE=1
77export REBUILD=${REBUILD:- false}
88export CI=${CI:- false}
99
10- export PYMAJOR=3
11- export PYBUILD=${PYBUILD:- ${PYMAJOR} .11}
10+ export PYBUILD=${PYBUILD:- 3.11}
11+ export PYMAJOR=$( echo -n $PYBUILD | cut -d. -f1)
12+ export PYMINOR=$( echo -n $PYBUILD | cut -d. -f2)
13+
1214
1315export HOST_PREFIX=${HOST_PREFIX:- ${SDKROOT} / devices/ $(arch)/ usr}
1416export PREFIX=${PREFIX:- ${SDKROOT} / devices/ emsdk/ usr}
Original file line number Diff line number Diff line change @@ -8,7 +8,11 @@ export HOST_PREFIX=${HOST_PREFIX:-$ROOT/devices/$(arch)/usr}
88export PREFIX=${PREFIX:- ${ROOT} / devices/ emsdk/ usr}
99export PYTHONPYCACHEPREFIX=$( realpath ${ROOT} /build/pycache)
1010
11- export HPY=$( echo -n ${HOST_PREFIX} /bin/python3.1? )
11+ export PYMAJOR=3
12+ export PYBUILD=${PYBUILD:- ${PYMAJOR} .11}
13+ export PYMINOR=$( echo -n $PYBUILD | cut -d. -f2)
14+
15+ export HPY=$( echo -n ${HOST_PREFIX} /bin/python${PYBUILD:- 3.1?} )
1216export PIP=$( echo -n ${HOST_PREFIX} /bin/pip3.$( echo $HPY | cut -d. -f2) )
1317
1418export CI=${CI:- false}
Original file line number Diff line number Diff line change 66 * cpython-fetch $PYBUILD *
77"
88
9+ mkdir -p src
910
1011pushd src 2>&1 > /dev/null
1112
You can’t perform that action at this time.
0 commit comments