From c97d39d228390c3d2be9fd00629c9866ac722503 Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Fri, 31 Jul 2020 06:03:11 +0000 Subject: [PATCH] [build] add arm_static build target Signed-off-by: Leo Chen --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index df99b9753..9331f1a2f 100644 --- a/Makefile +++ b/Makefile @@ -68,3 +68,11 @@ linux_static: make -C $(TOP)/mcl -j8 make -C $(TOP)/bls minimised_static BLS_SWAP_G=1 -j8 bash ./scripts/go_executable_build.sh -s + +arm_static: + go mod edit --require=github.com/ethereum/go-ethereum@v1.8.28 + go mod edit -replace github.com/ethereum/go-ethereum=$(GOPATH)/src/github.com/ethereum/go-ethereum + make -C $(TOP)/mcl -j8 + make -C $(TOP)/bls minimised_static BLS_SWAP_G=1 -j8 + bash ./scripts/go_executable_build.sh -a arm64 -s + git checkout go.mod