aboutsummaryrefslogtreecommitdiffstats
path: root/bin/install_dkg_dep.sh
blob: 40ae2beef28d508e16cfb7061ecf34529e4b81b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

if [ -e .dep/dkg ]; then
  exit 0
fi

if [ ! -d .dep/dkg ]; then
  mkdir -p .dep/dkg
  cd .dep/dkg
  git clone --depth 1 git://github.com/herumi/xbyak.git &
  git clone --depth 1 git://github.com/herumi/cybozulib.git &
  git clone --depth 1 --single-branch -b dev git://github.com/Spiderpowa/bls.git &
  git clone --depth 1 git://github.com/herumi/mcl.git &
  wait
  cd bls
  make test_go -j
  cd ../../../
fi
cd vendor/github.com/Spiderpowa && rm -rf *
ln -s ../../../.dep/dkg/* .