Skip to content

Commit

Permalink
_build.sh: skip builds where llvm-mingw is required but missing
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Sep 2, 2023
1 parent 5f3d3d4 commit 860d9df
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion _build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,11 @@ build_single_target() {
return
fi
_TOOLCHAIN='llvm-mingw'

if [ ! -d 'llvm-mingw' ]; then
echo "! WARNING: '${_BRANCH}/${_CPU}' build requires llvm-mingw, but llvm-mingw is not installed. Skipping."
return
fi
else
_TOOLCHAIN='mingw-w64'
fi
Expand All @@ -478,7 +483,7 @@ build_single_target() {
export _MAKE='make'
export _RUN_BIN=''

if [ ! "${_TOOLCHAIN}" = 'llvm-mingw' ]; then
if [ "${_TOOLCHAIN}" != 'llvm-mingw' ]; then
_CCSUFFIX="${CW_CCSUFFIX}"
fi

Expand Down

0 comments on commit 860d9df

Please sign in to comment.