[llvm-commits] CVS: llvm/utils/check-each-file
John Criswell
criswell at cs.uiuc.edu
Thu Feb 26 17:04:43 PST 2004
Changes in directory llvm/utils:
check-each-file updated: 1.3 -> 1.4
---
Log message:
Added support for C++ compilation.
Made removing the object files a separate sh command so that it can easily
be commented out.
---
Diffs of the changes: (+3 -2)
Index: llvm/utils/check-each-file
diff -u llvm/utils/check-each-file:1.3 llvm/utils/check-each-file:1.4
--- llvm/utils/check-each-file:1.3 Wed Feb 11 12:52:05 2004
+++ llvm/utils/check-each-file Thu Feb 26 17:02:25 2004
@@ -10,7 +10,7 @@
linker=./link-$program
echo "Building $program with llvm-native-gcc"
rm -f $program
- gmake -s $program CC=llvm-native-gcc
+ gmake -e $program CC=llvm-native-gcc CXX=llvm-native-gxx
echo "Erasing $program and re-linking it"
rm -f $program
echo "rm -f $program" > $linker
@@ -113,7 +113,8 @@
echo "Recompiling everything with llvm-native-gcc"
for f in $files
do
- rm -f $f && gmake $f CC=llvm-native-gcc
+ rm -f $f
+ gmake $f CC=llvm-native-gcc CXX=llvm-native-gxx
done
rm -f $program
$linker
More information about the llvm-commits
mailing list