aboutsummaryrefslogtreecommitdiffstats
path: root/bin/install_dkg_dep.sh
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-09-25 11:48:32 +0800
committerGitHub <noreply@github.com>2018-09-25 11:48:32 +0800
commitca935bdbac190766f29fb73433a82ee5806bc8f9 (patch)
tree13cefccaaa52cf5aa3c62f590ed7bae7ffdd3f17 /bin/install_dkg_dep.sh
parent01a6b236b82391adfedad1498f3497a70d4cf948 (diff)
downloaddexon-consensus-ca935bdbac190766f29fb73433a82ee5806bc8f9.tar
dexon-consensus-ca935bdbac190766f29fb73433a82ee5806bc8f9.tar.gz
dexon-consensus-ca935bdbac190766f29fb73433a82ee5806bc8f9.tar.bz2
dexon-consensus-ca935bdbac190766f29fb73433a82ee5806bc8f9.tar.lz
dexon-consensus-ca935bdbac190766f29fb73433a82ee5806bc8f9.tar.xz
dexon-consensus-ca935bdbac190766f29fb73433a82ee5806bc8f9.tar.zst
dexon-consensus-ca935bdbac190766f29fb73433a82ee5806bc8f9.zip
Use static linking for libbls (#132)
Diffstat (limited to 'bin/install_dkg_dep.sh')
-rwxr-xr-xbin/install_dkg_dep.sh11
1 files changed, 1 insertions, 10 deletions
diff --git a/bin/install_dkg_dep.sh b/bin/install_dkg_dep.sh
index af5e83e..56ac6b3 100755
--- a/bin/install_dkg_dep.sh
+++ b/bin/install_dkg_dep.sh
@@ -13,17 +13,8 @@ if [ ! -d .dep/dkg ]; then
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
- if [ "$(uname -o)" = "Darwin" ] && [ "$(brew --prefix)" != "/usr/local" ]; then
- cd mcl
- git am ../../../bin/patches/0001-common.mk-remove-hard-coded-CFLAGS-and-LDFLAGS.patch
- cd ..
- fi
cd bls
make test_go -j
cd ../../../
fi
-cp -r .dep/dkg/* \
- vendor/github.com/Spiderpowa
-mkdir -p lib
-cd lib
-ln -sf ../vendor/github.com/Spiderpowa/bls/lib/* .
+cp -r .dep/dkg/* vendor/github.com/Spiderpowa