Skip to content

Commit

Permalink
devtools: skip meson build for missing compilers
Browse files Browse the repository at this point in the history
If either gcc or clang are missing, skip doing those builds.
This allows a setup to only do, e.g. gcc tests.

Cc: [email protected]

Signed-off-by: Bruce Richardson <[email protected]>
Acked-by: Luca Boccassi <[email protected]>
Signed-off-by: Thomas Monjalon <[email protected]>
  • Loading branch information
bruce-richardson authored and tmonjalo committed Apr 17, 2019
1 parent c70622a commit e887ebb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions devtools/test-meson-builds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e887ebb

Please sign in to comment.