Skip to content

Commit 434611a

Browse files
committed
fix missing mkdir -p src
1 parent be9d2b7 commit 434611a

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

config

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ export PYTHONDONTWRITEBYTECODE=1
77
export REBUILD=${REBUILD:-false}
88
export 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

1315
export HOST_PREFIX=${HOST_PREFIX:-${SDKROOT}/devices/$(arch)/usr}
1416
export PREFIX=${PREFIX:-${SDKROOT}/devices/emsdk/usr}

python-wasm-build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ export HOST_PREFIX=${HOST_PREFIX:-$ROOT/devices/$(arch)/usr}
88
export PREFIX=${PREFIX:-${ROOT}/devices/emsdk/usr}
99
export 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?})
1216
export PIP=$(echo -n ${HOST_PREFIX}/bin/pip3.$(echo $HPY|cut -d. -f2))
1317

1418
export CI=${CI:-false}

scripts/cpython-fetch.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ echo "
66
* cpython-fetch $PYBUILD *
77
"
88

9+
mkdir -p src
910

1011
pushd src 2>&1 >/dev/null
1112

0 commit comments

Comments
 (0)