projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merging r261039:
[oota-llvm.git]
/
utils
/
check-each-file
diff --git
a/utils/check-each-file
b/utils/check-each-file
index 7d73f30cc120917b9524cb4c778c78847d9312b6..bd7633301dc296558d8a213ae4d297c7fd0e3bc2 100755
(executable)
--- a/
utils/check-each-file
+++ b/
utils/check-each-file
@@
-10,7
+10,7
@@
then
linker=./link-$program
echo "Building $program with llvm-native-gcc"
rm -f $program
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
echo "Erasing $program and re-linking it"
rm -f $program
echo "rm -f $program" > $linker
@@
-113,8
+113,11
@@
files=`cat $checkfiles`
echo "Recompiling everything with llvm-native-gcc"
for f in $files
do
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
done
+rm -f $program
+$linker
if $checker
then
echo "Sorry, I can't help you, $program is OK when compiled with llvm-native-gcc"
if $checker
then
echo "Sorry, I can't help you, $program is OK when compiled with llvm-native-gcc"