File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,17 @@ export HOST_PREFIX=${HOST_PREFIX:-${SDKROOT}/devices/$(arch)/usr}
1818export PREFIX=${PREFIX:- ${SDKROOT} / devices/ emsdk/ usr}
1919
2020mkdir -p ${SDKROOT} /build/pycache ${SDKROOT} /build/cache
21- export XDG_CACHE_HOME=$( realpath ${SDKROOT} /build/cache)
2221export PYTHONPYCACHEPREFIX=${PYTHONPYCACHEPREFIX:- $(realpath ${SDKROOT} / build/ pycache)}
2322
2423export 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
2833export HPY=${HOST_PREFIX} /bin/python${PYBUILD}
2934export HPIP=" ${HPY} -mpip"
@@ -90,6 +95,8 @@ export WASI_SDK=${WASI_SDK:-20}
9095export WASI_URL=https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK} /wasi-sdk-${WASI_SDK} .0-linux.tar.gz
9196export WASISDK=" ${SDKROOT} /wasisdk"
9297
98+ export WASMTIME_HOME=$WASISDK
99+
93100
94101# =============== Nimrod ====================
95102
Original file line number Diff line number Diff line change 4545
4646if echo $PYBUILD | grep -q 12$
4747then
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
5252fi
5353
5454
5555if echo $PYBUILD | grep -q 11$
5656then
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
6161fi
6262
You can’t perform that action at this time.
0 commit comments