aboutsummaryrefslogtreecommitdiff
path: root/scripts/ci/distcheck.sh
blob: 9d45536f4729642b523c762568752e0585eb3285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
set -e

if [ "${CC#clang}" != "${CC}" ] ; then
	export CXX="clang++"
fi

cd "$(dirname "$0")"/../..
./bootstrap
./configure ${CONF}

# Ignore possible failures there because these tests depends on measurements
# and systems might differ in performance.
export CI="true"

# Additional configure flags for distcheck
export DISTCHECK_CONFIGURE_FLAGS="${CONF}"

make distcheck