From: user Date: Wed, 29 Dec 2021 05:46:06 +0000 (+0300) Subject: Build sanity checks X-Git-Tag: nvc-v0.5.9~6 X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=f62838982dde369296791d6813c2e252f06aa7c2 Build sanity checks --- diff --git a/mingw64_deps/boost/build.sh b/mingw64_deps/boost/build.sh index 1283c85..4b25654 100755 --- a/mingw64_deps/boost/build.sh +++ b/mingw64_deps/boost/build.sh @@ -14,6 +14,11 @@ echo "llvm-mingw is not installed, please download it from https://github.com/ms exit 1 fi +if [[ ! $(which make) ]]; then +echo "make is not installed, please install buld-essential package" +exit 1 +fi + # Create stage directory mkdir ${ROOT}/${CROSS}-w64-mingw32 diff --git a/mingw64_deps/db/build.sh b/mingw64_deps/db/build.sh index a59c4a7..203be24 100755 --- a/mingw64_deps/db/build.sh +++ b/mingw64_deps/db/build.sh @@ -15,6 +15,11 @@ echo "llvm-mingw is not installed, please download it from https://github.com/ms exit 1 fi +if [[ ! $(which make) ]]; then +echo "make is not installed, please install buld-essential package" +exit 1 +fi + if [ "${CROSS}" == "aarch64" ]; then MUTEX="ARM64/gcc-assembly" fi diff --git a/mingw64_deps/openssl/build.sh b/mingw64_deps/openssl/build.sh index 3bcfab5..146f449 100755 --- a/mingw64_deps/openssl/build.sh +++ b/mingw64_deps/openssl/build.sh @@ -14,6 +14,11 @@ echo "llvm-mingw is not installed, please download it from https://github.com/ms exit 1 fi +if [[ ! $(which make) ]]; then +echo "make is not installed, please install buld-essential package" +exit 1 +fi + # Make build directories mkdir ${ROOT}/${CROSS}-w64-mingw32-build diff --git a/mingw64_deps/png/build.sh b/mingw64_deps/png/build.sh index 8cbf0d9..437d93b 100755 --- a/mingw64_deps/png/build.sh +++ b/mingw64_deps/png/build.sh @@ -14,6 +14,11 @@ echo "llvm-mingw is not installed, please download it from https://github.com/ms exit 1 fi +if [[ ! $(which make) ]]; then +echo "make is not installed, please install buld-essential package" +exit 1 +fi + # Make build directories cp -r ${ROOT}/zlib ${ROOT}/${CROSS}-w64-mingw32-build-zlib mkdir ${ROOT}/${CROSS}-w64-mingw32-build-libpng diff --git a/mingw64_deps/qt/build.sh b/mingw64_deps/qt/build.sh index a0bdd12..7befd18 100755 --- a/mingw64_deps/qt/build.sh +++ b/mingw64_deps/qt/build.sh @@ -20,6 +20,11 @@ echo "cmake is not installed, please install CMake >= 3.20 (e.g. pip3 install cm exit 1 fi +if [[ ! $(which make) ]]; then +echo "make is not installed, please install buld-essential package" +exit 1 +fi + # Make build directories mkdir ${ROOT}/${CROSS}-w64-mingw32-build mkdir ${ROOT}/${CROSS}-w64-mingw32-build-qttools