Skip to content

Commit 1ded1a9

Browse files
authored
Add Node.js 24.7.0 support. (#1597)
This PR updates Node.js from earlier 22.16.0 to newer 24.7.0. Remove armv7l and 32-bit Windows, nodejs/nodejs.org#8123
1 parent b71731a commit 1ded1a9

File tree

2 files changed

+44
-3
lines changed

2 files changed

+44
-3
lines changed

emsdk_manifest.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,44 @@
214214
"activated_path_skip": "node",
215215
"activated_cfg": "NODE_JS_TEST=['qemu-s390x', '-L', '/usr/s390x-linux-gnu/', '%installation_dir%/bin/node']"
216216
},
217+
218+
{
219+
"id": "node",
220+
"version": "24.7.0",
221+
"bitness": 64,
222+
"arch": "x86_64",
223+
"windows_url": "node-v24.7.0-win-x64.zip",
224+
"macos_url": "node-v24.7.0-darwin-x64.tar.gz",
225+
"linux_url": "node-v24.7.0-linux-x64.tar.xz",
226+
"activated_path": "%installation_dir%/bin",
227+
"activated_path_skip": "node",
228+
"activated_cfg": "NODE_JS='%installation_dir%/bin/node%.exe%'",
229+
"activated_env": "EMSDK_NODE=%installation_dir%/bin/node%.exe%"
230+
},
231+
{
232+
"id": "node",
233+
"version": "24.7.0",
234+
"arch": "arm64",
235+
"bitness": 64,
236+
"windows_url": "node-v24.7.0-win-arm64.zip",
237+
"macos_url": "node-v24.7.0-darwin-arm64.tar.gz",
238+
"linux_url": "node-v24.7.0-linux-arm64.tar.xz",
239+
"activated_path": "%installation_dir%/bin",
240+
"activated_path_skip": "node",
241+
"activated_cfg": "NODE_JS='%installation_dir%/bin/node%.exe%'",
242+
"activated_env": "EMSDK_NODE=%installation_dir%/bin/node%.exe%"
243+
},
244+
{
245+
"id": "node-big-endian-crosscompile",
246+
"version": "24.7.0",
247+
"arch": "x86_64",
248+
"bitness": 64,
249+
"linux_url": "node-v24.7.0-linux-s390x.tar.gz",
250+
"activated_path": "%installation_dir%/bin",
251+
"activated_path_skip": "node",
252+
"activated_cfg": "NODE_JS_TEST=['qemu-s390x', '-L', '/usr/s390x-linux-gnu/', '%installation_dir%/bin/node']"
253+
},
254+
217255
{
218256
"id": "node",
219257
"version": "nightly",

scripts/update_node.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,22 @@
1818
import shutil
1919
from zip import unzip_cmd, zip_cmd
2020

21-
version = '22.16.0'
21+
# When adjusting this version, visit
22+
# https://github.com/nodejs/node/blob/v24.x/BUILDING.md#platform-list
23+
# to verify minimum supported OS versions. Replace "v24.x" in the URL
24+
# with the version field.
25+
version = '24.7.0'
2226
base = f'https://nodejs.org/dist/v{version}/'
2327
upload_base = 'gs://webassembly/emscripten-releases-builds/deps/'
2428

2529
suffixes = [
26-
'-win-x86.zip',
2730
'-win-x64.zip',
2831
'-win-arm64.zip',
2932
'-darwin-x64.tar.gz',
3033
'-darwin-arm64.tar.gz',
3134
'-linux-x64.tar.xz',
3235
'-linux-arm64.tar.xz',
33-
'-linux-armv7l.tar.xz',
36+
'-linux-s390x.tar.gz',
3437
]
3538

3639
for suffix in suffixes:

0 commit comments

Comments
 (0)