vdf/install.sh

12 lines
349 B
Bash
Raw Permalink Normal View History

2019-01-04 06:14:09 -08:00
#!/bin/sh --
2019-01-04 10:23:16 -08:00
exec 2>/dev/null
2019-01-03 21:30:48 -08:00
export RUSTFLAGS='-Clto -Cpanic=abort'
2019-01-04 06:14:09 -08:00
export DEBIAN_FRONTEND=noninteractive
sudo apt-get -y -q update
2019-01-04 10:23:16 -08:00
sudo apt-get install git build-essential libgmp3-dev curl -y -q
2019-01-04 06:14:09 -08:00
curl https://sh.rustup.rs -sSf | sh -s -- -y
2019-01-04 10:23:16 -08:00
. ~/.cargo/env
2019-01-04 06:14:09 -08:00
rustup install nightly
rustup default nightly
2019-01-04 10:23:16 -08:00
cargo install --force --path=vdf-competition