summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2019-04-10 21:52:22 +0100
committerThomas Monjalon <thomas@monjalon.net>2019-04-17 17:15:55 +0200
commite887ebb663aa9f1e3ea5d1eb6c3bc4faeb377e66 (patch)
tree304177a6c34572f175c0b3a3141df45f2a5f8a35
parentc70622ac6f72719ec3ba4a8c7824828fb2663192 (diff)
downloaddpdk-e887ebb663aa9f1e3ea5d1eb6c3bc4faeb377e66.zip
dpdk-e887ebb663aa9f1e3ea5d1eb6c3bc4faeb377e66.tar.gz
dpdk-e887ebb663aa9f1e3ea5d1eb6c3bc4faeb377e66.tar.xz
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 <bruce.richardson@intel.com> Acked-by: Luca Boccassi <bluca@debian.org> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
-rwxr-xr-xdevtools/test-meson-builds.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh
index b3b5cfb..9a67cfa 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