summaryrefslogtreecommitdiff
path: root/clang/utils/ABITest/build.sh
blob: a50d14ab8d06f02128c937beb98908ceaf8405ab (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -eu

if [ $# != 1 ]; then
    echo "usage: $0 <num-tests>"
    exit 1
fi

CPUS=2
make -j $CPUS \
  $(for i in $(seq 0 $1); do echo test.$i.report; done) -k