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"
86
86
87
87
# =============== Nimrod ====================
88
88
89
- # stable
89
+ # tested
90
90
NIM_VERSION=nim-2.0.8
91
91
92
92
# testing
93
- NIM_VERSION=nim-2.2.0
93
+ NIM_VERSION=${NIM_VERSION:- nim-2.2.2}
94
+
94
95
NIM_URL=https://nim-lang.org/download/${NIM_VERSION} -linux_x64.tar.xz
95
96
96
97
# NIM_VERSION=nim-git
@@ -130,9 +131,8 @@ EXTRABINS="$EXTRABINS $BUN_INSTALL/bin"
130
131
131
132
# ================ aosp ===================
132
133
133
- AOSP_NDK=${AOSP_NDK:- 27.1.12297006}
134
-
135
-
134
+ export AOSP_NDK=${AOSP_NDK:- 25.2.9519653}
135
+ export REACT_NATIVE=
" [email protected] "
136
136
137
137
# =========== panda3d =================
138
138
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
reset
3
3
4
+ [ -f ../config ] && . ../config
5
+
4
6
# TODO: check how dbg tools work with default settings
5
7
# https://developer.chrome.com/blog/wasm-debugging-2020/
6
8
7
- mkdir -p /tmp/sdk-bin
8
- export PATH=/tmp/sdk-bin:$PATH
9
-
10
9
if which python3
11
10
then
12
11
SYS_PYTHON=$( which python3)
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
reset
3
3
4
+ [ -f ../config ] && . ../config
5
+
4
6
# TODO: check how dbg tools work with default settings
5
7
# https://developer.chrome.com/blog/wasm-debugging-2020/
6
8
7
- mkdir -p /tmp/sdk-bin
8
- export PATH=/tmp/sdk-bin:$PATH
9
-
10
9
if which python3
11
10
then
12
11
SYS_PYTHON=$( which python3)
Original file line number Diff line number Diff line change 79
79
80
80
if echo $PYBUILD | grep -q 13$
81
81
then
82
- if [ -d Python-3.13.1 ]
82
+ if [ -d Python-3.13.2 ]
83
83
then
84
84
echo " * Using local cpython sources"
85
85
else
86
86
pwd
87
87
ls
88
88
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
91
91
fi
92
92
93
- ln -s Python-3.13.1 cpython${PYBUILD}
93
+ ln -s Python-3.13.2 cpython${PYBUILD}
94
94
95
95
sed -i ' s|ProcessPoolExecutor = None|return True|g' cpython3.13/Lib/compileall.py
96
96
125
125
126
126
if echo $PYBUILD | grep -q 12$
127
127
then
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}
131
131
fi
132
132
133
133
Original file line number Diff line number Diff line change 35
35
else
36
36
pushd emsdk
37
37
38
- pushd emsdk/ upstream/emscripten
38
+ pushd upstream/emscripten
39
39
40
40
echo " FIXME: applying stdio* are not const"
41
41
sed -i ' s|extern FILE \*const|extern FILE \*|g' cache/sysroot/include/stdio.h
104
104
# wget https://patch-diff.githubusercontent.com/raw/emscripten-core/emscripten/pull/22605.diff
105
105
# patch -p1 < 22605.diff
106
106
107
- popd # emsdk/upstream/emscripten
107
+ popd # emsdk/upstream/emscripten -> emsdk
108
108
109
109
# wget https://raw.githubusercontent.com/paradust7/minetest-wasm/main/emsdk_emcc.patch
110
110
# patch -p1 < emsdk_emcc.patch
119
119
stubs[prop] = (...args) => {
120
120
resolved ||= resolveSymbol(prop);
121
121
+ if (!resolved) {
122
- + throw new Error(` Dynamic linking error: cannot resolve symbol ${prop} ` );
122
+ + throw new Error(\ ` Dynamic linking error: cannot resolve symbol \ $ {prop}\ ` );
123
123
+ }
124
124
return resolved(...args);
125
125
};
You can’t perform that action at this time.
0 commit comments