Merge pull request 'added cmake check for build-arm.sh' (#208) from jahway603/hush3:dev into dev

Reviewed-on: https://git.hush.is/hush/hush3/pulls/208
This commit is contained in:
Duke Leto
2022-09-20 02:24:53 +00:00

View File

@@ -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!! }}