Skip to content

Commit

Permalink
Merge pull request poanetwork#74 from poanetwork/ag-c-compilers
Browse files Browse the repository at this point in the history
Add C compiler tools
  • Loading branch information
acravenho committed Nov 6, 2018
2 parents ea669ac + 14735d4 commit 33f68e8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion modules/stack/libexec/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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')"
Expand Down

0 comments on commit 33f68e8

Please sign in to comment.