aboutsummaryrefslogtreecommitdiff
path: root/scripts/ci/distcheck.sh
blob: 6cf49f8a77dfc660fc1f7241d106fbf647bb742c (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 -j $(nproc) distcheck