Skip to content

Commit

Permalink
[build] add arm_static build target
Browse files Browse the repository at this point in the history
Signed-off-by: Leo Chen <leo@harmony.one>
  • Loading branch information
Leo Chen committed Jul 31, 2020
1 parent e435349 commit c97d39d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c97d39d

Please sign in to comment.