diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-09-05 13:35:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-05 13:35:20 +0800 |
commit | 2b5c97e53e9734dda971456ff483bf2b34f0f021 (patch) | |
tree | 38f85928ce552762de4243df5feb7757c2a75410 /bin | |
parent | 41641e10286dd7b1fdcced6a51157e061d545ef5 (diff) | |
download | dexon-consensus-2b5c97e53e9734dda971456ff483bf2b34f0f021.tar dexon-consensus-2b5c97e53e9734dda971456ff483bf2b34f0f021.tar.gz dexon-consensus-2b5c97e53e9734dda971456ff483bf2b34f0f021.tar.bz2 dexon-consensus-2b5c97e53e9734dda971456ff483bf2b34f0f021.tar.lz dexon-consensus-2b5c97e53e9734dda971456ff483bf2b34f0f021.tar.xz dexon-consensus-2b5c97e53e9734dda971456ff483bf2b34f0f021.tar.zst dexon-consensus-2b5c97e53e9734dda971456ff483bf2b34f0f021.zip |
CRYPTO: dkg library (#95)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/install_dkg_dep.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bin/install_dkg_dep.sh b/bin/install_dkg_dep.sh new file mode 100755 index 0000000..eb41460 --- /dev/null +++ b/bin/install_dkg_dep.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +if [ -e .dep/dkg ]; then + exit 0 +fi + +rm -rf vendor/github.com/herumi/* +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 git://github.com/herumi/bls.git & + git clone --depth 1 git://github.com/herumi/mcl.git & + wait + cd bls + make test_go -j + cd ../../../ +fi +cp -r .dep/dkg/* \ + vendor/github.com/herumi |