Skip to content

Commit

Permalink
Warn, don't fail, if a compiler is missing
Browse files Browse the repository at this point in the history
That way, it might still be possible to compile
for a subset of target architectures.
  • Loading branch information
ctrueden committed May 12, 2024
1 parent 036444a commit a1f754f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/compile-launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ mkdir -p build
compile() {
compiler=$1
command -v "$compiler" >/dev/null 2>&1 || {
echo "[ERROR] No compiler installed: $compiler"
exit 1
echo "[WARNING] No compiler installed: $compiler"
echo "[WARNING] Skipping invocation: $@"
return
}
shift
(set -x; "$compiler" \
Expand Down

0 comments on commit a1f754f

Please sign in to comment.