Build sanity checks
authoruser <balthazar@yandex.ru>
Wed, 29 Dec 2021 05:43:43 +0000 (08:43 +0300)
committeruser <balthazar@yandex.ru>
Wed, 29 Dec 2021 05:43:43 +0000 (08:43 +0300)
mingw64_deps/boost/build.sh
mingw64_deps/db/build.sh
mingw64_deps/openssl/build.sh
mingw64_deps/png/build.sh

index 7e6e821..1283c85 100755 (executable)
@@ -9,6 +9,11 @@ echo "Expected either aarch64 or x86_64."
 exit 1
 fi
 
+if [[ ! $(which ${CROSS}-w64-mingw32-clang) ]]; then
+echo "llvm-mingw is not installed, please download it from https://github.com/mstorsjo/llvm-mingw/releases"
+exit 1
+fi
+
 # Create stage directory
 mkdir ${ROOT}/${CROSS}-w64-mingw32
 
index 79b426d..a59c4a7 100755 (executable)
@@ -10,6 +10,11 @@ echo "Expected either aarch64 or x86_64."
 exit 1
 fi
 
+if [[ ! $(which ${CROSS}-w64-mingw32-clang) ]]; then
+echo "llvm-mingw is not installed, please download it from https://github.com/mstorsjo/llvm-mingw/releases"
+exit 1
+fi
+
 if [ "${CROSS}" == "aarch64" ]; then
 MUTEX="ARM64/gcc-assembly"
 fi
index 2369546..3bcfab5 100755 (executable)
@@ -9,6 +9,11 @@ echo "Expected either aarch64 or x86_64."
 exit 1
 fi
 
+if [[ ! $(which ${CROSS}-w64-mingw32-clang) ]]; then
+echo "llvm-mingw is not installed, please download it from https://github.com/mstorsjo/llvm-mingw/releases"
+exit 1
+fi
+
 # Make build directories
 mkdir ${ROOT}/${CROSS}-w64-mingw32-build
 
index 8c115a1..8cbf0d9 100755 (executable)
@@ -9,6 +9,11 @@ echo "Expected either aarch64 or x86_64."
 exit 1
 fi
 
+if [[ ! $(which ${CROSS}-w64-mingw32-clang) ]]; then
+echo "llvm-mingw is not installed, please download it from https://github.com/mstorsjo/llvm-mingw/releases"
+exit 1
+fi
+
 # Make build directories
 cp -r ${ROOT}/zlib ${ROOT}/${CROSS}-w64-mingw32-build-zlib
 mkdir ${ROOT}/${CROSS}-w64-mingw32-build-libpng