Skip to content

Commit 83f1ebf

Browse files
[DONOTMERGE] bump(main/nodejs): v25.0.0~rc
1 parent 9d68dc3 commit 83f1ebf

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

packages/nodejs/build.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://nodejs.org/
22
TERMUX_PKG_DESCRIPTION="Open Source, cross-platform JavaScript runtime environment"
33
TERMUX_PKG_LICENSE="MIT"
44
TERMUX_PKG_MAINTAINER="Yaksh Bariya <[email protected]>"
5-
TERMUX_PKG_VERSION=24.9.0
6-
TERMUX_PKG_SRCURL=https://nodejs.org/dist/v${TERMUX_PKG_VERSION}/node-v${TERMUX_PKG_VERSION}.tar.xz
7-
TERMUX_PKG_SHA256=f17bc4cb01f59098c34a288c1bb109a778867c14eeb0ebbd608d0617b1193bbf
5+
TERMUX_PKG_VERSION=25.0.0~rc
6+
TERMUX_PKG_SRCURL=git+https://github.com/nodejs/node.git
7+
TERMUX_PKG_GIT_BRANCH=v25.0.0-proposal
88
# thunder-coding: don't try to autoupdate nodejs, that thing takes 2 whole hours to build for a single arch, and requires a lot of patch updates everytime. Also I run tests everytime I update it to ensure least bugs
99
TERMUX_PKG_AUTO_UPDATE=false
1010
# Note that we do not use a shared libuv to avoid an issue with the Android
@@ -71,8 +71,8 @@ termux_step_host_build() {
7171
# 'bucket': 'chromium-browser-clang',
7272
# 'objects': [
7373
# {
74-
# 'object_name': 'Linux_x64/clang-llvmorg-21-init-5118-g52cd27e6-5.tar.xz',
75-
# 'sha256sum': '790fcc5b04e96882e8227ba7994161ab945c0e096057fc165a0f71e32a7cb061',
74+
# 'object_name': 'Linux_x64/clang-llvmorg-21-init-9266-g09006611-1.tar.xz',
75+
# 'sha256sum': '2cccd3a5b04461f17a2e78d2f8bd18b448443a9dd4d6dfac50e8e84b4d5176f1',
7676
# 'size_bytes': 54517328,
7777
# 'generation': 1742541959624765,
7878
# 'condition': 'host_os == "linux"',

packages/nodejs/deps-v8-src-trap-handler-trap-handler.h.patch

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
--- ./deps/v8/src/trap-handler/trap-handler.h.orig 2025-05-08 13:56:19.000000000 +0530
2-
+++ ./deps/v8/src/trap-handler/trap-handler.h 2025-05-09 19:48:23.129472068 +0530
3-
@@ -15,45 +15,7 @@
1+
--- ./deps/v8/src/trap-handler/trap-handler.h.orig 2025-10-06 04:33:30.681637509 +0530
2+
+++ ./deps/v8/src/trap-handler/trap-handler.h 2025-10-06 04:33:35.761027106 +0530
3+
@@ -15,49 +15,7 @@
44

55
namespace v8::internal::trap_handler {
66

@@ -9,10 +9,14 @@
99
- ((V8_OS_LINUX && !V8_OS_ANDROID) || V8_OS_WIN || V8_OS_DARWIN || \
1010
- V8_OS_FREEBSD)
1111
-#define V8_TRAP_HANDLER_SUPPORTED true
12-
-// Arm64 (non-simulator) on Linux, Windows, MacOS.
12+
-// Arm64 native on Linux, Windows, MacOS.
1313
-#elif V8_TARGET_ARCH_ARM64 && V8_HOST_ARCH_ARM64 && \
1414
- ((V8_OS_LINUX && !V8_OS_ANDROID) || V8_OS_WIN || V8_OS_DARWIN)
1515
-#define V8_TRAP_HANDLER_SUPPORTED true
16+
-// For Linux and Mac, enable the simulator when it's been requested.
17+
-#if USE_SIMULATOR && ((V8_OS_LINUX && !V8_OS_ANDROID) || V8_OS_DARWIN)
18+
-#define V8_TRAP_HANDLER_VIA_SIMULATOR
19+
-#endif
1620
-// Arm64 simulator on x64 on Linux, Mac, or Windows.
1721
-//
1822
-// The simulator case uses some inline assembly code, which cannot be

0 commit comments

Comments
 (0)