]> git.droids-corp.org - dpdk.git/blobdiff - devtools/test-meson-builds.sh
devtools: skip meson build for missing compilers
[dpdk.git] / devtools / test-meson-builds.sh
index b3b5cfbb54fbc8d29a83862440fa50d2c5a79120..9a67cfa64383bc76c95d9428d9e89a6af7979349 100755 (executable)
@@ -54,6 +54,7 @@ fi
 
 # shared and static linked builds with gcc and clang
 for c in gcc clang ; do
 
 # 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
        for s in static shared ; do
                export CC="ccache $c"
                build build-$c-$s --default-library=$s