7 FILES_TO_PRINT="build/meson-logs/testlog.txt build/.ninja_log build/meson-logs/meson-log.txt"
9 for pr_file in $FILES_TO_PRINT; do
10 if [ -e "$pr_file" ]; then
17 if [ "$AARCH64" = "1" ]; then
18 # convert the arch specifier
19 OPTS="$OPTS --cross-file config/arm/arm64_armv8_linux_gcc"
22 if [ "$BUILD_DOCS" = "1" ]; then
23 OPTS="$OPTS -Denable_docs=true"
26 if [ "$BUILD_32BIT" = "1" ]; then
27 OPTS="$OPTS -Dc_args=-m32 -Dc_link_args=-m32"
28 export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig"
31 OPTS="$OPTS --default-library=$DEF_LIB"
32 OPTS="$OPTS --buildtype=debugoptimized"
33 meson build --werror -Dexamples=all $OPTS
36 if [ "$AARCH64" != "1" ]; then
40 if [ "$ABI_CHECKS" = "1" ]; then
41 REF_GIT_REPO=${REF_GIT_REPO:-https://dpdk.org/git/dpdk}
42 REF_GIT_TAG=${REF_GIT_TAG:-v19.11}
44 if [ "$(cat reference/VERSION 2>/dev/null)" != "$REF_GIT_TAG" ]; then
48 if [ ! -d reference ]; then
49 refsrcdir=$(readlink -f $(pwd)/../dpdk-$REF_GIT_TAG)
50 git clone --single-branch -b $REF_GIT_TAG $REF_GIT_REPO $refsrcdir
51 meson --werror $OPTS $refsrcdir $refsrcdir/build
52 ninja -C $refsrcdir/build
53 DESTDIR=$(pwd)/reference ninja -C $refsrcdir/build install
54 devtools/gen-abi.sh reference
55 echo $REF_GIT_TAG > reference/VERSION
58 DESTDIR=$(pwd)/install ninja -C build install
59 devtools/gen-abi.sh install
60 devtools/check-abi.sh reference install ${ABI_CHECKS_WARN_ONLY:-}
63 if [ "$RUN_TESTS" = "1" ]; then
64 sudo meson test -C build --suite fast-tests -t 3