Merge pull request #74 from poanetwork/ag-c-compilers

Add C compiler tools
This commit is contained in:
Andrew Cravenho 2018-11-06 23:16:07 +01:00 committed by GitHub
commit 33f68e816e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -67,7 +67,14 @@ if ! which node >/dev/null; then
log "Installing nodejs.."
yum --enablerepo=epel install -y nodejs >"$LOG"
fi
if ! which gcc >/dev/null; then
log "Installing C compiling tools.."
yum --enablerepo=epel group install -y "Development Tools" >"$LOG"
fi
if ! which gmp-devel >/dev/null; then
log "Installing gmp-devel.."
yum --enablerepo=epel install -y gmp-devel >"$LOG"
fi
log "Determining region this instance is in.."
REGION="$(curl -s $DYNDATA_URL/instance-identity/document | jq -r '.region')"