Skip to content

Instantly share code, notes, and snippets.

@pr0cf5
Created November 14, 2021 04:43
Show Gist options
  • Save pr0cf5/334be7c9e62f98f578be90c84c4a82b1 to your computer and use it in GitHub Desktop.
Save pr0cf5/334be7c9e62f98f578be90c84c4a82b1 to your computer and use it in GitHub Desktop.

Revisions

  1. pr0cf5 created this gist Nov 14, 2021.
    6 changes: 6 additions & 0 deletions build-v8.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    #!/bin/sh
    git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git && cd depot_tools && echo "export PATH=\$PATH:`pwd`" >> ~/.bashrc
    source ~/.bashrc && cd ~ && mkdir v8_turbolizer && cd v8_turbolizer && fetch v8
    ./v8/build/install-build-deps.sh
    ./v8/tools/dev/gm.py x64.debug d8
    cd ./v8/tools/turbolizer/ && npm i && npm run-script build