File tree 3 files changed +47
-1
lines changed 3 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 36
36
" ${PYTHON} " configure --openssl-no-asm --without-npm --shared --with-intl=small-icu
37
37
make BUILDTYPE=Release config.gypi
38
38
make BUILDTYPE=Release out/Makefile
39
+
39
40
export PATH=" ${PWD} /out/tools/bin:${PATH} "
40
- make -j" ${NJOBS} " -C out BUILDTYPE=Release V=0 v8 v8_libbase v8_libplatform v8_libsampler
41
+ make -j" ${NJOBS} " -C out BUILDTYPE=Release V=0 libv8_monolith
Original file line number Diff line number Diff line change 20
20
21
21
cd " src/node-${version} "
22
22
23
+ patch -p1 < ../../gyp-libv8_monolith.patch
23
24
patch -p1 < ../../py2-icutrim.patch
24
25
patch -p1 < ../../py2-genv8constants.patch
25
26
Original file line number Diff line number Diff line change
1
+ --- a/node.gyp 2020-11-04 15:55:48.000000000 +0100
2
+ +++ b/node.gyp 2020-11-04 15:55:51.000000000 +0100
3
+ @@ -1467,6 +1467,16 @@
4
+ }],
5
+ ],
6
+ }, # node_mksnapshot
7
+ + {
8
+ + 'target_name': 'libv8_monolith',
9
+ + 'type': 'none',
10
+ + 'includes': [
11
+ + 'node.gypi'
12
+ + ],
13
+ + #'dependencies': [
14
+ + # 'tools/v8_gypfiles/v8.gyp:v8_monolith',
15
+ + #],
16
+ + },
17
+ ], # end targets
18
+
19
+ 'conditions': [
20
+ --- a/tools/v8_gypfiles/v8.gyp 2020-11-04 16:34:06.000000000 +0100
21
+ +++ b/tools/v8_gypfiles/v8.gyp 2020-11-04 16:34:10.000000000 +0100
22
+ @@ -1726,5 +1726,21 @@
23
+ '<(V8_ROOT)/third_party/zlib/google/compression_utils_portable.h',
24
+ ],
25
+ }, # v8_zlib
26
+ + {
27
+ + 'target_name': 'v8_monolith',
28
+ + 'type': 'static_library',
29
+ + 'sources': [
30
+ + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8.*?sources = ")',
31
+ + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_libbase.*?sources = ")',
32
+ + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_libplatform.*?sources = ")',
33
+ + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_libsampler.*?sources = ")',
34
+ + ],
35
+ + 'dependencies': [
36
+ + 'v8',
37
+ + 'v8_libbase',
38
+ + 'v8_libplatform',
39
+ + 'v8_libsampler',
40
+ + ],
41
+ + }
42
+ ],
43
+ }
44
+
You can’t perform that action at this time.
0 commit comments