From: user Date: Wed, 29 Dec 2021 05:42:52 +0000 (+0300) Subject: Build sanity checks X-Git-Tag: nvc-v0.5.9~8 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=f2a3e5a6d0e6a6bbe7bfdcb600810d2627bd0b36 Build sanity checks --- 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