From f2a3e5a6d0e6a6bbe7bfdcb600810d2627bd0b36 Mon Sep 17 00:00:00 2001 From: user Date: Wed, 29 Dec 2021 08:42:52 +0300 Subject: [PATCH] Build sanity checks --- mingw64_deps/qt/build.sh | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/mingw64_deps/qt/build.sh b/mingw64_deps/qt/build.sh index 645f4af..a0bdd12 100755 --- a/mingw64_deps/qt/build.sh +++ b/mingw64_deps/qt/build.sh @@ -9,6 +9,17 @@ 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" +echo "Untar downloaded archive and add its /bin directory to your PATH" +exit 1 +fi + +if [[ ! $(which cmake) ]]; then +echo "cmake is not installed, please install CMake >= 3.20 (e.g. pip3 install cmake)" +exit 1 +fi + # Make build directories mkdir ${ROOT}/${CROSS}-w64-mingw32-build mkdir ${ROOT}/${CROSS}-w64-mingw32-build-qttools -- 1.7.1