forked from OSchip/llvm-project
Minor build system changes to make ABITest work correctly on Linux.
llvm-svn: 72405
This commit is contained in:
parent
1cae3df3cf
commit
1fd785f564
|
@ -36,7 +36,7 @@ test.%.report: temps/test.%.xx.diff temps/test.%.xy.diff temps/test.%.yx.diff te
|
|||
ok=0;\
|
||||
fi; \
|
||||
done; \
|
||||
if [ $$ok == 1 ]; then \
|
||||
if [ $$ok -eq 1 ]; then \
|
||||
true; \
|
||||
else \
|
||||
false; \
|
||||
|
|
|
@ -7,6 +7,6 @@ if [ $# != 1 ]; then
|
|||
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
|
||||
|
|
|
@ -12,7 +12,7 @@ TIMEOUT := 5
|
|||
CFLAGS := -std=gnu99
|
||||
|
||||
X_COMPILER := llvm-gcc
|
||||
Y_COMPILER := xcc -ccc-clang
|
||||
Y_COMPILER := clang
|
||||
CC := gcc
|
||||
|
||||
ifeq (0, 0)
|
||||
|
|
|
@ -7,7 +7,7 @@ if [ $# != 1 ]; then
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue