File tree Expand file tree Collapse file tree 5 files changed +19
-21
lines changed Expand file tree Collapse file tree 5 files changed +19
-21
lines changed Original file line number Diff line number Diff line change @@ -86,11 +86,12 @@ EXTRABINS="$EXTRABINS ${JAVA_HOME}/bin"
8686
8787# =============== Nimrod ====================
8888
89- # stable
89+ # tested
9090NIM_VERSION=nim-2.0.8
9191
9292# testing
93- NIM_VERSION=nim-2.2.0
93+ NIM_VERSION=${NIM_VERSION:- nim-2.2.2}
94+
9495NIM_URL=https://nim-lang.org/download/${NIM_VERSION} -linux_x64.tar.xz
9596
9697# NIM_VERSION=nim-git
@@ -130,9 +131,8 @@ EXTRABINS="$EXTRABINS $BUN_INSTALL/bin"
130131
131132# ================ aosp ===================
132133
133- AOSP_NDK=${AOSP_NDK:- 27.1.12297006}
134- REACT_NATIVE=" react-native@0.77.0"
135-
134+ export AOSP_NDK=${AOSP_NDK:- 25.2.9519653}
135+ export REACT_NATIVE=" react-native@0.77.0"
136136
137137# =========== panda3d =================
138138
Original file line number Diff line number Diff line change 11#! /bin/bash
22reset
33
4+ [ -f ../config ] && . ../config
5+
46# TODO: check how dbg tools work with default settings
57# https://developer.chrome.com/blog/wasm-debugging-2020/
68
7- mkdir -p /tmp/sdk-bin
8- export PATH=/tmp/sdk-bin:$PATH
9-
109if which python3
1110then
1211 SYS_PYTHON=$( which python3)
Original file line number Diff line number Diff line change 11#! /bin/bash
22reset
33
4+ [ -f ../config ] && . ../config
5+
46# TODO: check how dbg tools work with default settings
57# https://developer.chrome.com/blog/wasm-debugging-2020/
68
7- mkdir -p /tmp/sdk-bin
8- export PATH=/tmp/sdk-bin:$PATH
9-
109if which python3
1110then
1211 SYS_PYTHON=$( which python3)
Original file line number Diff line number Diff line change 7979
8080if echo $PYBUILD | grep -q 13$
8181then
82- if [ -d Python-3.13.1 ]
82+ if [ -d Python-3.13.2 ]
8383 then
8484 echo " * Using local cpython sources"
8585 else
8686 pwd
8787 ls
8888 echo " * fetching remote cpython sources"
89- wget -q -c https://www.python.org/ftp/python/3.13.1 /Python-3.13.1 .tar.xz
90- tar xf Python-3.13.1 .tar.xz || exit 87
89+ wget -q -c https://www.python.org/ftp/python/3.13.2 /Python-3.13.2 .tar.xz
90+ tar xf Python-3.13.2 .tar.xz || exit 87
9191 fi
9292
93- ln -s Python-3.13.1 cpython${PYBUILD}
93+ ln -s Python-3.13.2 cpython${PYBUILD}
9494
9595 sed -i ' s|ProcessPoolExecutor = None|return True|g' cpython3.13/Lib/compileall.py
9696
125125
126126if echo $PYBUILD | grep -q 12$
127127then
128- wget -q -c https://www.python.org/ftp/python/3.12.8 /Python-3.12.8 .tar.xz
129- tar xf Python-3.12.8 .tar.xz
130- ln -s Python-3.12.8 cpython${PYBUILD}
128+ wget -q -c https://www.python.org/ftp/python/3.12.9 /Python-3.12.9 .tar.xz
129+ tar xf Python-3.12.9 .tar.xz
130+ ln -s Python-3.12.9 cpython${PYBUILD}
131131fi
132132
133133
Original file line number Diff line number Diff line change 3535 else
3636 pushd emsdk
3737
38- pushd emsdk/ upstream/emscripten
38+ pushd upstream/emscripten
3939
4040 echo " FIXME: applying stdio* are not const"
4141 sed -i ' s|extern FILE \*const|extern FILE \*|g' cache/sysroot/include/stdio.h
104104 # wget https://patch-diff.githubusercontent.com/raw/emscripten-core/emscripten/pull/22605.diff
105105 # patch -p1 < 22605.diff
106106
107- popd # emsdk/upstream/emscripten
107+ popd # emsdk/upstream/emscripten -> emsdk
108108
109109# wget https://raw.githubusercontent.com/paradust7/minetest-wasm/main/emsdk_emcc.patch
110110# patch -p1 < emsdk_emcc.patch
119119 stubs[prop] = (...args) => {
120120 resolved ||= resolveSymbol(prop);
121121+ if (!resolved) {
122- + throw new Error(` Dynamic linking error: cannot resolve symbol ${prop} ` );
122+ + throw new Error(\ ` Dynamic linking error: cannot resolve symbol \ $ {prop}\ ` );
123123+ }
124124 return resolved(...args);
125125 };
You can’t perform that action at this time.
0 commit comments