diff --git a/util/build-arm.sh b/util/build-arm.sh index f22ed7acf..16b195520 100755 --- a/util/build-arm.sh +++ b/util/build-arm.sh @@ -7,6 +7,12 @@ set -eu -o pipefail +# Check if cmake, a new dependency for randomx support, is installed on system and exits if it is not +if ! [ -x "$(command -v cmake)" ]; then + echo 'Error: cmake is not installed. Install cmake and try again.' >&2 + exit 1 +fi + cat <<'EOF' .~~~~~~~~~~~~~~~~. {{ Building Hush!! }}