summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build-d8.sh13
-rwxr-xr-xscripts/download-d8.sh2
m---------third_party/v8-native-prototype0
3 files changed, 10 insertions, 5 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.
diff --git a/scripts/download-d8.sh b/scripts/download-d8.sh
index 7373deaf..40b77d00 100755
--- a/scripts/download-d8.sh
+++ b/scripts/download-d8.sh
@@ -6,7 +6,7 @@ SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
ROOT_DIR="$(dirname "${SCRIPT_DIR}")"
OUT_DIR="${ROOT_DIR}/out"
-V8_SHA=8a09bf63714ee165fa91e1091bf205d4505c0e29
+V8_SHA=1ef3cf2b0bf96d9f271d42867103778f23ebfb0a
BUCKET_URL=https://storage.googleapis.com/webassembly/v8-native-prototype/${V8_SHA}
Download() {
diff --git a/third_party/v8-native-prototype b/third_party/v8-native-prototype
-Subproject 8a09bf63714ee165fa91e1091bf205d4505c0e2
+Subproject 1ef3cf2b0bf96d9f271d42867103778f23ebfb0