aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-09-24 10:28:07 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-09-24 10:28:07 +0000
commit22d0ce23a0865c1a68636d3feb1f490b13a49fb9 (patch)
treedbbb7aa1a310190925c29703089b4eb916791639 /tools
parent79798540eba9424b14eccb3a6e6fd486cd40c3b2 (diff)
Passage options via COQFLAGS plutot que OPT
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4472 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tools')
-rwxr-xr-xtools/check-v85
-rwxr-xr-xtools/translate-v85
2 files changed, 6 insertions, 4 deletions
diff --git a/tools/check-v8 b/tools/check-v8
index 30ab7aed2..ef26f9856 100755
--- a/tools/check-v8
+++ b/tools/check-v8
@@ -8,7 +8,8 @@ mv /tmp/v8.$$ v8
cd v8
rm description
make clean
-make OPT=-translate || { echo ---- Failed to translate; exit 1; }
+make COQFLAGS='-translate -q $(OPT) $(COQLIBS) $(COQ_XML)' || \
+ { echo ---- Failed to translate; exit 1; }
echo ------------------ Upgrading v8 files -------------------------
v8files=`find . -name \*.v8`
for i in $v8files; do
@@ -18,6 +19,6 @@ for i in $v8files; do
done
echo ------------------ Recompiling v8 files -----------------------
make clean
-make OPT=-v8 || { echo ---- Failed to recompile; exit 1; }
+make || { echo ---- Failed to recompile; exit 1; }
make clean # to save disk space
echo ------------------ Translation completed ----------------------
diff --git a/tools/translate-v8 b/tools/translate-v8
index efeb6d043..d39458257 100755
--- a/tools/translate-v8
+++ b/tools/translate-v8
@@ -1,12 +1,13 @@
echo
echo ------------------ Producing v8 files -------------------------
make clean
-make OPT=-translate || { echo ---- Failed to translate; exit 1; }
+make COQFLAGS='-translate -q $(OPT) $(COQLIBS) $(COQ_XML)' || \
+ { 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; }
+make || { echo ---- Failed to recompile; exit 1; }
echo
echo ------------------ Translation completed ----------------------
echo Old files are in directory v7