aboutsummaryrefslogtreecommitdiff
path: root/tools/translate-v8
diff options
context:
space:
mode:
Diffstat (limited to 'tools/translate-v8')
-rwxr-xr-xtools/translate-v814
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/translate-v8 b/tools/translate-v8
new file mode 100755
index 0000000000..efeb6d0439
--- /dev/null
+++ b/tools/translate-v8
@@ -0,0 +1,14 @@
+echo
+echo ------------------ Producing v8 files -------------------------
+make clean
+make OPT=-translate || { echo ---- Failed to translate; exit 1; }
+$COQBIN/../tools/upgrade-v8 || { echo ---- Failed to upgrade files; exit 1; }
+echo
+echo ------------------ Recompiling v8 files -----------------------
+make clean
+make OPT=-v8 || { echo ---- Failed to recompile; exit 1; }
+echo
+echo ------------------ Translation completed ----------------------
+echo Old files are in directory v7
+
+