From e887ebb663aa9f1e3ea5d1eb6c3bc4faeb377e66 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Wed, 10 Apr 2019 21:52:22 +0100 Subject: [PATCH] devtools: skip meson build for missing compilers If either gcc or clang are missing, skip doing those builds. This allows a setup to only do, e.g. gcc tests. Cc: stable@dpdk.org Signed-off-by: Bruce Richardson Acked-by: Luca Boccassi Signed-off-by: Thomas Monjalon --- devtools/test-meson-builds.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index b3b5cfbb54..9a67cfa643 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -54,6 +54,7 @@ fi # shared and static linked builds with gcc and clang for c in gcc clang ; do + command -v $c >/dev/null 2>&1 || continue for s in static shared ; do export CC="ccache $c" build build-$c-$s --default-library=$s