File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 10
10
@echo " Done building."
11
11
@echo " Run \" $( GOBIN) /geth\" to launch geth."
12
12
13
+ geth-cross : geth-linux geth-darwin geth-windows geth-android
14
+ @echo " Full cross compilation done:"
15
+ @ls -l $(GOBIN ) /geth-*
16
+
17
+ geth-linux : xgo
18
+ build/env.sh $(GOBIN ) /xgo --dest=$(GOBIN ) --deps=https://gmplib.org/download/gmp/gmp-6.0.0a.tar.bz2 --targets=linux/* -v ./cmd/geth
19
+ @echo " Linux cross compilation done:"
20
+ @ls -l $(GOBIN ) /geth-linux-*
21
+
22
+ geth-darwin : xgo
23
+ build/env.sh $(GOBIN ) /xgo --dest=$(GOBIN ) --deps=https://gmplib.org/download/gmp/gmp-6.0.0a.tar.bz2 --targets=darwin/* -v ./cmd/geth
24
+ @echo " Darwin cross compilation done:"
25
+ @ls -l $(GOBIN ) /geth-darwin-*
26
+
27
+ geth-windows : xgo
28
+ build/env.sh $(GOBIN ) /xgo --dest=$(GOBIN ) --deps=https://gmplib.org/download/gmp/gmp-6.0.0a.tar.bz2 --targets=windows/* -v ./cmd/geth
29
+ @echo " Windows cross compilation done:"
30
+ @ls -l $(GOBIN ) /geth-windows-*
31
+
32
+ geth-android : xgo
33
+ build/env.sh $(GOBIN ) /xgo --dest=$(GOBIN ) --deps=https://gmplib.org/download/gmp/gmp-6.0.0a.tar.bz2 --targets=android-16/* ,android-21/* -v ./cmd/geth
34
+ @echo " Android cross compilation done:"
35
+ @ls -l $(GOBIN ) /geth-android-*
36
+
13
37
evm :
14
38
build/env.sh $(GOROOT ) /bin/go install -v $(shell build/ldflags.sh) ./cmd/evm
15
39
@echo " Done building."
@@ -28,5 +52,8 @@ test: all
28
52
travis-test-with-coverage : all
29
53
build/env.sh build/test-global-coverage.sh
30
54
55
+ xgo :
56
+ build/env.sh go get github.com/karalabe/xgo
57
+
31
58
clean :
32
59
rm -fr build/_workspace/pkg/ Godeps/_workspace/pkg $(GOBIN ) /*
You can’t perform that action at this time.
0 commit comments