[cfe-commits] r72405 - in /cfe/trunk/utils/ABITest: Makefile.test.common build.sh layout/Makefile summarize.sh
Eli Friedman
eli.friedman at gmail.com
Mon May 25 15:07:10 PDT 2009
Author: efriedma
Date: Mon May 25 17:07:09 2009
New Revision: 72405
URL: http://llvm.org/viewvc/llvm-project?rev=72405&view=rev
Log:
Minor build system changes to make ABITest work correctly on Linux.
Modified:
cfe/trunk/utils/ABITest/Makefile.test.common
cfe/trunk/utils/ABITest/build.sh
cfe/trunk/utils/ABITest/layout/Makefile
cfe/trunk/utils/ABITest/summarize.sh
Modified: cfe/trunk/utils/ABITest/Makefile.test.common
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ABITest/Makefile.test.common?rev=72405&r1=72404&r2=72405&view=diff
==============================================================================
--- cfe/trunk/utils/ABITest/Makefile.test.common (original)
+++ cfe/trunk/utils/ABITest/Makefile.test.common Mon May 25 17:07:09 2009
@@ -36,7 +36,7 @@
ok=0;\
fi; \
done; \
- if [ $$ok == 1 ]; then \
+ if [ $$ok -eq 1 ]; then \
true; \
else \
false; \
Modified: cfe/trunk/utils/ABITest/build.sh
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ABITest/build.sh?rev=72405&r1=72404&r2=72405&view=diff
==============================================================================
--- cfe/trunk/utils/ABITest/build.sh (original)
+++ cfe/trunk/utils/ABITest/build.sh Mon May 25 17:07:09 2009
@@ -7,6 +7,6 @@
exit 1
fi
-CPUS=$(sysctl -n hw.ncpu)
+CPUS=2
make -j $CPUS \
- $(for i in $(zseq 0 $1); do echo test.$i.report; done) -k
+ $(for i in $(seq 0 $1); do echo test.$i.report; done) -k
Modified: cfe/trunk/utils/ABITest/layout/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ABITest/layout/Makefile?rev=72405&r1=72404&r2=72405&view=diff
==============================================================================
--- cfe/trunk/utils/ABITest/layout/Makefile (original)
+++ cfe/trunk/utils/ABITest/layout/Makefile Mon May 25 17:07:09 2009
@@ -12,7 +12,7 @@
CFLAGS := -std=gnu99
X_COMPILER := llvm-gcc
-Y_COMPILER := xcc -ccc-clang
+Y_COMPILER := clang
CC := gcc
ifeq (0, 0)
Modified: cfe/trunk/utils/ABITest/summarize.sh
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/ABITest/summarize.sh?rev=72405&r1=72404&r2=72405&view=diff
==============================================================================
--- cfe/trunk/utils/ABITest/summarize.sh (original)
+++ cfe/trunk/utils/ABITest/summarize.sh Mon May 25 17:07:09 2009
@@ -7,7 +7,7 @@
exit 1
fi
-for i in $(zseq 0 $1); do
+for i in $(seq 0 $1); do
if (! make test.$i.report &> /dev/null); then
echo "FAIL: $i";
fi;
More information about the cfe-commits
mailing list