Skip to content

Commit c19c272

Browse files
committed
3.1.59.2pre
1 parent 82ac2d1 commit c19c272

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

config

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,17 @@ export HOST_PREFIX=${HOST_PREFIX:-${SDKROOT}/devices/$(arch)/usr}
1818
export PREFIX=${PREFIX:-${SDKROOT}/devices/emsdk/usr}
1919

2020
mkdir -p ${SDKROOT}/build/pycache ${SDKROOT}/build/cache
21-
export XDG_CACHE_HOME=$(realpath ${SDKROOT}/build/cache)
2221
export PYTHONPYCACHEPREFIX=${PYTHONPYCACHEPREFIX:-$(realpath ${SDKROOT}/build/pycache)}
2322

2423
export WHEELS=/data/git/archives/repo
2524

26-
export HOME=${SDKROOT}
25+
export HOME=$(realpath ${SDKROOT})
26+
export XDG_DATA_HOME=${HOME}/build/share
27+
export XDG_CACHE_HOME=${HOME}/build/cache
28+
export XDG_CONFIG_HOME=${HOME}/build/config
29+
export XDG_DATA_DIRS=${HOME}/build/share
30+
31+
mkdir -p $XDG_DATA_HOME $XDG_CACHE_HOME $XDG_CONFIG_HOME
2732

2833
export HPY=${HOST_PREFIX}/bin/python${PYBUILD}
2934
export HPIP="${HPY} -mpip"
@@ -90,6 +95,8 @@ export WASI_SDK=${WASI_SDK:-20}
9095
export WASI_URL=https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK}/wasi-sdk-${WASI_SDK}.0-linux.tar.gz
9196
export WASISDK="${SDKROOT}/wasisdk"
9297

98+
export WASMTIME_HOME=$WASISDK
99+
93100

94101
# =============== Nimrod ====================
95102

scripts/cpython-fetch.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,18 @@ fi
4545

4646
if echo $PYBUILD |grep -q 12$
4747
then
48-
wget -q -c https://www.python.org/ftp/python/3.12.2/Python-3.12.2.tar.xz
49-
tar xf Python-3.12.2.tar.xz
50-
ln -s Python-3.12.2 cpython${PYBUILD}
48+
wget -q -c https://www.python.org/ftp/python/3.12.3/Python-3.12.3.tar.xz
49+
tar xf Python-3.12.3.tar.xz
50+
ln -s Python-3.12.3 cpython${PYBUILD}
5151
export REBUILD=true
5252
fi
5353

5454

5555
if echo $PYBUILD | grep -q 11$
5656
then
57-
wget -q -c https://www.python.org/ftp/python/3.11.8/Python-3.11.8.tar.xz
58-
tar xf Python-3.11.8.tar.xz
59-
ln -s Python-3.11.8 cpython${PYBUILD}
57+
wget -q -c https://www.python.org/ftp/python/3.11.9/Python-3.11.9.tar.xz
58+
tar xf Python-3.11.9.tar.xz
59+
ln -s Python-3.11.9 cpython${PYBUILD}
6060
export REBUILD=true
6161
fi
6262

0 commit comments

Comments
 (0)