File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -31,28 +31,20 @@ brew install v8
31
31
#### SwiftPM arguments
32
32
33
33
``` bash
34
- swift build -Xcc -I/usr/local/Cellar/v8/9.3.345.16/libexec/include
34
+ swift build
35
35
36
- swift test \
37
- -Xcc -I/usr/local/Cellar/v8/9.3.345.16/libexec/include \
38
- -Xlinker -L/usr/local/Cellar/v8/9.3.345.16/libexec \
39
- --generate-linuxmain
40
-
41
- swift package \
42
- -Xcc -I/usr/local/Cellar/v8/9.3.345.16/libexec/include \
43
- -Xlinker -L/usr/local/Cellar/v8/9.3.345.16/libexec \
44
- generate-xcodeproj
36
+ ./run_tests
45
37
```
46
38
47
39
### Linux
48
40
49
- For full instructions follow https://v8.dev/docs/build
41
+ Hope the args are still valid. For full instructions follow https://v8.dev/docs/build
50
42
``` bash
51
43
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
52
44
export PATH=$PATH :$( pwd) /depot_tools
53
45
fetch v8
54
46
cd v8
55
- gclient sync -r 9.3.345.16
47
+ gclient sync -r 12.0.267.10
56
48
./build/install-build-deps.sh # OMG
57
49
gn gen --args=" is_debug=false is_component_build=true v8_use_external_startup_data=false v8_enable_i18n_support=false" out.gn/x64.release
58
50
ninja -j8 -C out.gn/x64.release -v d8
You can’t perform that action at this time.
0 commit comments