aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-04-11 18:32:33 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-15 22:09:55 +0800
commit21ac6a5ed287112f685174b482d36392c594f0e8 (patch)
treef36d198fdee235aac353ae32b8d927890bcae060 /Makefile
parent67637a63cab266b30d2a634bb8039bd7ff1ae335 (diff)
downloadgo-tangerine-21ac6a5ed287112f685174b482d36392c594f0e8.tar
go-tangerine-21ac6a5ed287112f685174b482d36392c594f0e8.tar.gz
go-tangerine-21ac6a5ed287112f685174b482d36392c594f0e8.tar.bz2
go-tangerine-21ac6a5ed287112f685174b482d36392c594f0e8.tar.lz
go-tangerine-21ac6a5ed287112f685174b482d36392c594f0e8.tar.xz
go-tangerine-21ac6a5ed287112f685174b482d36392c594f0e8.tar.zst
go-tangerine-21ac6a5ed287112f685174b482d36392c594f0e8.zip
vendor: use BLS-12_384 curve and update dependencies (#356)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 9cdd9e5b0..14f79c8ef 100644
--- a/Makefile
+++ b/Makefile
@@ -41,14 +41,16 @@ lint: ## Run linters.
build/env.sh go run build/ci.go lint
libbls:
- make -C vendor/github.com/dexon-foundation/bls lib/libbls384.a
+ make -C vendor/github.com/dexon-foundation/bls MCL_USE_OPENSSL=0 lib/libbls384.a
-clean:
- ./build/clean_go_build_cache.sh
- rm -fr build/_workspace/pkg/ $(GOBIN)/*
+clean-cgo:
make -C vendor/github.com/dexon-foundation/bls clean
make -C vendor/github.com/dexon-foundation/mcl clean
+clean: clean-cgo
+ ./build/clean_go_build_cache.sh
+ rm -fr build/_workspace/pkg/ $(GOBIN)/*
+
# The devtools target installs tools required for 'go generate'.
# You need to put $GOBIN (or $GOPATH/bin) in your PATH to use 'go generate'.