aboutsummaryrefslogtreecommitdiff
path: root/ci-tests/test-spike
blob: 2da04fff3fc46721d6fbe15cb92b64e7413981b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
set -e

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

mkdir build
cd build
mkdir install
CFLAGS="-Werror" $DIR/../configure --prefix=`pwd`/install
make -j4
make install

# check that help message prints without error
install/bin/spike -h