blob: b9b170659b69ff208b26ff31b8af36aa926d4e51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/bash
set -e
if [ "${CC#clang}" != "${CC}" ] ; then
export CXX="clang++"
fi
cd "$(dirname "$0")"/../..
./bootstrap
./configure \
--enable-dpdk \
${CONF}
make -j 8
echo 1000 | tee /proc/sys/vm/nr_hugepages
mkdir -p /mnt/huge
mount -t hugetlbfs nodev /mnt/huge
# Ignore possible failures there because these tests depends on measurements
# and systems might differ in performance.
export CI="true"
make check
umount /mnt/huge
|