libv8-node 23.6.1.0 → 24.1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/libv8/node/version.rb +3 -3
- data/libexec/build-libv8 +12 -1
- data/libexec/build-monolith +3 -3
- data/libexec/extract-node +1 -0
- data/libexec/platform +15 -15
- data/patch/v8-add-missing-typename.patch +66 -0
- data/sums/v23.8.0.sum +1 -0
- data/sums/v24.1.0.sum +1 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2b8e967d1a38a0d8436f0f0d6019d04a37a1ff32089e4f7240dccaa4757124c
|
4
|
+
data.tar.gz: f9a4f5dac6062d022367f5a66c251d09484e8d6924e3d6b7b50dd60c5ac5e109
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d62e6a23daf53112c214e2440ff189baeee278b903d1031067bcb2791fa207b7d529075f0fa07a922965d365aeb0b5f64467f94cadc91ea99e0728eccc93eed
|
7
|
+
data.tar.gz: 840e1fbf57f570b491efab1696d7ecf3ffbf70d28f9364b3f69d559ad6bf59db4be7703d93fe56abb61ed20e2699d97086e0a7b8cca45ff5e2d5d958842ad181
|
data/lib/libv8/node/version.rb
CHANGED
@@ -4,7 +4,7 @@ module Libv8
|
|
4
4
|
end
|
5
5
|
|
6
6
|
module Libv8::Node
|
7
|
-
VERSION = '
|
8
|
-
NODE_VERSION = '
|
9
|
-
LIBV8_VERSION = '
|
7
|
+
VERSION = '24.1.0.0'
|
8
|
+
NODE_VERSION = '24.1.0'
|
9
|
+
LIBV8_VERSION = '13.6.233.10' # from src/node-.../deps/v8/include/v8-version.h
|
10
10
|
end
|
data/libexec/build-libv8
CHANGED
@@ -14,6 +14,7 @@ NJOBS="${NJOBS:-1}"
|
|
14
14
|
echo "parallel job count: ${NJOBS}"
|
15
15
|
|
16
16
|
BUILDTYPE="${BUILDTYPE:-Release}"
|
17
|
+
GITHUB_ACTIONS="${GITHUB_ACTIONS:-}"
|
17
18
|
|
18
19
|
cd "${src}/node-v${version}"
|
19
20
|
|
@@ -42,5 +43,15 @@ if [ "$host_platform" != "$target_platform" ] && [ "${target_platform%%-*}" = "a
|
|
42
43
|
find . -iname "*.host.mk" -exec sed -i '/-msign-return-address/d' {} ';'
|
43
44
|
fi
|
44
45
|
|
46
|
+
if [ "${BUILDTYPE}" = "Release" ] && [ "${GITHUB_ACTIONS}" != "" ]; then
|
47
|
+
case "${target_platform}" in
|
48
|
+
arm64*-darwin*)
|
49
|
+
# dwarf debug info for v8 is so massive the macos
|
50
|
+
# builder runs out of disk space when it's enabled
|
51
|
+
find out -name '*.mk' -exec sed -i '' -e 's/gdwarf-2/g0/g' {} ';'
|
52
|
+
;;
|
53
|
+
esac
|
54
|
+
fi
|
55
|
+
|
45
56
|
export PATH="${PWD}/out/tools/bin:${PATH}"
|
46
|
-
make -j"${NJOBS}" -C out BUILDTYPE="${BUILDTYPE}" V=
|
57
|
+
make -j"${NJOBS}" -C out BUILDTYPE="${BUILDTYPE}" V=
|
data/libexec/build-monolith
CHANGED
@@ -21,13 +21,13 @@ platform=$(uname)
|
|
21
21
|
rm -f "${LIBV8_MONOLITH}"
|
22
22
|
case "${platform}" in
|
23
23
|
"SunOS")
|
24
|
-
/usr/xpg4/bin/find . '(' '!' -path './icutools/deps/icu-small/source/stubdata/stubdata.o' ')' -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" | sort | uniq | xargs ar cq "${LIBV8_MONOLITH}"
|
24
|
+
/usr/xpg4/bin/find . '(' '!' -path './icutools/deps/icu-small/source/stubdata/stubdata.o' ')' -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" -or -path './abseil/deps/v8/third_party/abseil-cpp/absl/**/*.o' -or -path './highway/deps/v8/third_party/highway/**/*.o' -or -path './simdutf/deps/v8/third_party/simdutf/*.o' | sort | uniq | xargs ar cq "${LIBV8_MONOLITH}"
|
25
25
|
;;
|
26
26
|
"Darwin")
|
27
|
-
/usr/bin/find . '(' '!' -path './icutools/deps/icu-small/source/stubdata/stubdata.o' ')' -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" | sort | uniq | xargs /usr/bin/ar -cq "${LIBV8_MONOLITH}"
|
27
|
+
/usr/bin/find . '(' '!' -path './icutools/deps/icu-small/source/stubdata/stubdata.o' ')' -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" -or -path './abseil/deps/v8/third_party/abseil-cpp/absl/**/*.o' -or -path './highway/deps/v8/third_party/highway/**/*.o' -or -path './simdutf/deps/v8/third_party/simdutf/*.o' | sort | uniq | xargs /usr/bin/ar -cq "${LIBV8_MONOLITH}"
|
28
28
|
;;
|
29
29
|
"Linux")
|
30
|
-
find . '(' '!' -path './icutools/deps/icu-small/source/stubdata/stubdata.o' ')' -and '(' -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" ')' | sort | uniq | xargs ar -cqSP "${LIBV8_MONOLITH}"
|
30
|
+
find . '(' '!' -path './icutools/deps/icu-small/source/stubdata/stubdata.o' ')' -and '(' -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" -or -path './abseil/deps/v8/third_party/abseil-cpp/absl/**/*.o' -or -path './highway/deps/v8/third_party/highway/**/*.o' -or -path './simdutf/deps/v8/third_party/simdutf/*.o' ')' | sort | uniq | xargs ar -cqSP "${LIBV8_MONOLITH}"
|
31
31
|
ar -sP "${LIBV8_MONOLITH}"
|
32
32
|
;;
|
33
33
|
*)
|
data/libexec/extract-node
CHANGED
@@ -29,6 +29,7 @@ extract "${src}" "${src}/node-v${version}.tar.gz"
|
|
29
29
|
|
30
30
|
cd "${src}/node-v${version}"
|
31
31
|
|
32
|
+
patch -p1 < "${top}"/patch/v8-add-missing-typename.patch
|
32
33
|
patch -p1 < "${top}"/patch/v8-std-is-trivially-destructible.patch
|
33
34
|
patch -p1 < "${top}"/patch/v8-disable-madv-dontfork.patch
|
34
35
|
patch -p1 < "${top}"/patch/v8-disable-pkey.patch
|
data/libexec/platform
CHANGED
@@ -3,12 +3,12 @@
|
|
3
3
|
set -e
|
4
4
|
set -u
|
5
5
|
|
6
|
-
if command -v
|
7
|
-
CC="${CC:-clang}"
|
8
|
-
CXX="${CXX:-clang++}"
|
9
|
-
elif command -v gcc >/dev/null 2>&1; then
|
6
|
+
if command -v gcc >/dev/null 2>&1; then
|
10
7
|
CC="${CC:-gcc}"
|
11
8
|
CXX="${CXX:-g++}"
|
9
|
+
elif command -v clang >/dev/null 2>&1; then
|
10
|
+
CC="${CC:-clang}"
|
11
|
+
CXX="${CXX:-clang++}"
|
12
12
|
elif command -v cc >/dev/null 2>&1; then
|
13
13
|
CC="${CC:-cc}"
|
14
14
|
CXX="${CXX:-c++}"
|
@@ -142,17 +142,17 @@ fi
|
|
142
142
|
# ;;
|
143
143
|
# esac
|
144
144
|
|
145
|
-
if command -v ccache >/dev/null 2>&1; then
|
146
|
-
if [ -n "${CC:-}" ] && [ "${CC}" = "${CC#ccache}" ]; then
|
147
|
-
CC="ccache ${CC}"
|
148
|
-
CXX="ccache ${CXX}"
|
149
|
-
fi
|
150
|
-
|
151
|
-
if [ -n "${CC_host:-}" ] && [ "${CC_host}" = "${CC_host#ccache}" ]; then
|
152
|
-
CC_host="ccache ${CC_host}"
|
153
|
-
CXX_host="ccache ${CXX_host}"
|
154
|
-
fi
|
155
|
-
fi
|
145
|
+
#if command -v ccache >/dev/null 2>&1; then
|
146
|
+
# if [ -n "${CC:-}" ] && [ "${CC}" = "${CC#ccache}" ]; then
|
147
|
+
# CC="ccache ${CC}"
|
148
|
+
# CXX="ccache ${CXX}"
|
149
|
+
# fi
|
150
|
+
#
|
151
|
+
# if [ -n "${CC_host:-}" ] && [ "${CC_host}" = "${CC_host#ccache}" ]; then
|
152
|
+
# CC_host="ccache ${CC_host}"
|
153
|
+
# CXX_host="ccache ${CXX_host}"
|
154
|
+
# fi
|
155
|
+
#fi
|
156
156
|
|
157
157
|
cat <<EOF
|
158
158
|
export CC='${CC}'
|
@@ -0,0 +1,66 @@
|
|
1
|
+
diff --git a/deps/v8/src/objects/ordered-hash-table.h b/deps/v8/src/objects/ordered-hash-table.h
|
2
|
+
index 0e1605d566..8145bb1b8a 100644
|
3
|
+
--- a/deps/v8/src/objects/ordered-hash-table.h
|
4
|
+
+++ b/deps/v8/src/objects/ordered-hash-table.h
|
5
|
+
@@ -70,7 +70,7 @@ class OrderedHashTable : public FixedArray {
|
6
|
+
// to add at least one new element.
|
7
|
+
template <template <typename> typename HandleType>
|
8
|
+
requires(std::is_convertible_v<HandleType<Derived>, DirectHandle<Derived>>)
|
9
|
+
- static HandleType<Derived>::MaybeType EnsureCapacityForAdding(
|
10
|
+
+ static typename HandleType<Derived>::MaybeType EnsureCapacityForAdding(
|
11
|
+
Isolate* isolate, HandleType<Derived> table);
|
12
|
+
|
13
|
+
// Returns an OrderedHashTable (possibly |table|) that's shrunken
|
14
|
+
@@ -218,11 +218,11 @@ class OrderedHashTable : public FixedArray {
|
15
|
+
|
16
|
+
template <template <typename> typename HandleType>
|
17
|
+
requires(std::is_convertible_v<HandleType<Derived>, DirectHandle<Derived>>)
|
18
|
+
- static HandleType<Derived>::MaybeType Rehash(Isolate* isolate,
|
19
|
+
+ static typename HandleType<Derived>::MaybeType Rehash(Isolate* isolate,
|
20
|
+
HandleType<Derived> table);
|
21
|
+
template <template <typename> typename HandleType>
|
22
|
+
requires(std::is_convertible_v<HandleType<Derived>, DirectHandle<Derived>>)
|
23
|
+
- static HandleType<Derived>::MaybeType Rehash(Isolate* isolate,
|
24
|
+
+ static typename HandleType<Derived>::MaybeType Rehash(Isolate* isolate,
|
25
|
+
HandleType<Derived> table,
|
26
|
+
int new_capacity);
|
27
|
+
|
28
|
+
@@ -287,7 +287,7 @@ class V8_EXPORT_PRIVATE OrderedHashSet
|
29
|
+
template <template <typename> typename HandleType>
|
30
|
+
requires(std::is_convertible_v<HandleType<OrderedHashSet>,
|
31
|
+
DirectHandle<OrderedHashSet>>)
|
32
|
+
- static HandleType<OrderedHashSet>::MaybeType Add(
|
33
|
+
+ static typename HandleType<OrderedHashSet>::MaybeType Add(
|
34
|
+
Isolate* isolate, HandleType<OrderedHashSet> table,
|
35
|
+
DirectHandle<Object> value);
|
36
|
+
static Handle<FixedArray> ConvertToKeysArray(Isolate* isolate,
|
37
|
+
@@ -296,12 +296,12 @@ class V8_EXPORT_PRIVATE OrderedHashSet
|
38
|
+
template <template <typename> typename HandleType>
|
39
|
+
requires(std::is_convertible_v<HandleType<OrderedHashSet>,
|
40
|
+
DirectHandle<OrderedHashSet>>)
|
41
|
+
- static HandleType<OrderedHashSet>::MaybeType Rehash(
|
42
|
+
+ static typename HandleType<OrderedHashSet>::MaybeType Rehash(
|
43
|
+
Isolate* isolate, HandleType<OrderedHashSet> table);
|
44
|
+
template <template <typename> typename HandleType>
|
45
|
+
requires(std::is_convertible_v<HandleType<OrderedHashSet>,
|
46
|
+
DirectHandle<OrderedHashSet>>)
|
47
|
+
- static HandleType<OrderedHashSet>::MaybeType Rehash(
|
48
|
+
+ static typename HandleType<OrderedHashSet>::MaybeType Rehash(
|
49
|
+
Isolate* isolate, HandleType<OrderedHashSet> table, int new_capacity);
|
50
|
+
|
51
|
+
template <typename IsolateT>
|
52
|
+
@@ -343,12 +343,12 @@ class V8_EXPORT_PRIVATE OrderedHashMap
|
53
|
+
template <template <typename> typename HandleType>
|
54
|
+
requires(std::is_convertible_v<HandleType<OrderedHashMap>,
|
55
|
+
DirectHandle<OrderedHashMap>>)
|
56
|
+
- static HandleType<OrderedHashMap>::MaybeType Rehash(
|
57
|
+
+ static typename HandleType<OrderedHashMap>::MaybeType Rehash(
|
58
|
+
Isolate* isolate, HandleType<OrderedHashMap> table);
|
59
|
+
template <template <typename> typename HandleType>
|
60
|
+
requires(std::is_convertible_v<HandleType<OrderedHashMap>,
|
61
|
+
DirectHandle<OrderedHashMap>>)
|
62
|
+
- static HandleType<OrderedHashMap>::MaybeType Rehash(
|
63
|
+
+ static typename HandleType<OrderedHashMap>::MaybeType Rehash(
|
64
|
+
Isolate* isolate, HandleType<OrderedHashMap> table, int new_capacity);
|
65
|
+
|
66
|
+
void SetEntry(InternalIndex entry, Tagged<Object> key, Tagged<Object> value);
|
data/sums/v23.8.0.sum
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
23b5e0b0b6752a21c7af4e2361655a54ad499d3ae06b6f9af1dd311365b8496a
|
data/sums/v24.1.0.sum
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
b565cba1dd8f2eb3db7c95e0c3a87ecc5e77f079611ea6a3688531511383ec72
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: libv8-node
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 24.1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -63,6 +63,7 @@ files:
|
|
63
63
|
- libexec/inject-libv8
|
64
64
|
- libexec/metadata
|
65
65
|
- libexec/platform
|
66
|
+
- patch/v8-add-missing-typename.patch
|
66
67
|
- patch/v8-disable-madv-dontfork.patch
|
67
68
|
- patch/v8-disable-pkey.patch
|
68
69
|
- patch/v8-std-is-trivially-destructible.patch
|
@@ -89,6 +90,8 @@ files:
|
|
89
90
|
- sums/v22.7.0.sum
|
90
91
|
- sums/v22.9.0.sum
|
91
92
|
- sums/v23.6.1.sum
|
93
|
+
- sums/v23.8.0.sum
|
94
|
+
- sums/v24.1.0.sum
|
92
95
|
homepage: https://github.com/rubyjs/libv8-node
|
93
96
|
licenses:
|
94
97
|
- MIT
|