Skip to content

Commit 02f0b38

Browse files
committed
Update README.md
1 parent 96360a2 commit 02f0b38

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,20 @@ brew install v8
3131
#### SwiftPM arguments
3232

3333
```bash
34-
swift build -Xcc -I/usr/local/Cellar/v8/9.3.345.16/libexec/include
34+
swift build
3535

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
4537
```
4638

4739
### Linux
4840

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
5042
```bash
5143
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
5244
export PATH=$PATH:$(pwd)/depot_tools
5345
fetch v8
5446
cd v8
55-
gclient sync -r 9.3.345.16
47+
gclient sync -r 12.0.267.10
5648
./build/install-build-deps.sh #OMG
5749
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
5850
ninja -j8 -C out.gn/x64.release -v d8

0 commit comments

Comments
 (0)