diff options
author | Ben Smith <binji@chromium.org> | 2015-09-23 14:20:07 -0700 |
---|---|---|
committer | Ben Smith <binji@chromium.org> | 2015-09-23 14:20:07 -0700 |
commit | 9ba4cecdd0e004d4c0a8f9fc35a6289bc983d4c6 (patch) | |
tree | 979b832571a5d5978e1eef95667125bb1624647c /scripts/build-d8.sh | |
parent | b5b330dab82b1066f334ac972740cc3d6ed73a08 (diff) | |
download | wabt-9ba4cecdd0e004d4c0a8f9fc35a6289bc983d4c6.tar.gz wabt-9ba4cecdd0e004d4c0a8f9fc35a6289bc983d4c6.tar.bz2 wabt-9ba4cecdd0e004d4c0a8f9fc35a6289bc983d4c6.zip |
update v8-native-prototype
Diffstat (limited to 'scripts/build-d8.sh')
-rwxr-xr-x | scripts/build-d8.sh | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/scripts/build-d8.sh b/scripts/build-d8.sh index 71b18207..fb8e4e53 100755 --- a/scripts/build-d8.sh +++ b/scripts/build-d8.sh @@ -19,15 +19,20 @@ export PATH=$PWD/depot_tools:$PATH if [[ ! -d v8 ]]; then echo "Fetching v8" mkdir v8 - cd v8 + pushd v8 fetch --no-history v8 ln -fs $PWD/.. v8/third_party/wasm - cd .. + popd +else + pushd v8/v8 + git fetch origin + git checkout origin/master + popd fi -cd v8 +pushd v8 gclient update -cd .. +popd # Don't use the CC from the environment; v8 doesn't seem to build properly with # it. |