Created
July 11, 2016 21:05
-
-
Save leobalter/1bcfe646c4e66203d393b148fcf28786 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up | |
- name: install Google's depot tools to fetch and sync v8 | |
git: | |
repo=https://chromium.googlesource.com/chromium/tools/depot_tools.git | |
dest=/srv/depot_tools | |
- name: fetch v8 | |
git: | |
repo=https://chromium.googlesource.com/v8/v8.git | |
dest=/srv/v8 | |
- name: config gclient | |
command: /srv/depot_tools/gclient config "https://chromium.googlesource.com/v8/v8.git" | |
args: | |
chdir: /srv/v8/ | |
creates: /srv/.gclient | |
# https://github.com/v8/v8/wiki/Building%20with%20Gyp#building-v8 | |
- name: sync v8 folder | |
command: /srv/depot_tools/gclient sync | |
args: | |
chdir: /srv/v8/ | |
- name: build v8 (Grab a coffee) | |
make: | |
chdir: /srv/v8/ | |
target: native |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment