diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-11-24 23:24:43 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-11-24 23:24:43 +0800 |
commit | 2c42e54519afaa5426e9c389fa2ee911b0699baa (patch) | |
tree | 3f7791cf54d06fc2d0061faa22c5d0025ab7a8a3 /Makefile | |
parent | b0fb48c389460193d9fc0a5118d79ff6dec48ce0 (diff) | |
download | go-tangerine-2c42e54519afaa5426e9c389fa2ee911b0699baa.tar go-tangerine-2c42e54519afaa5426e9c389fa2ee911b0699baa.tar.gz go-tangerine-2c42e54519afaa5426e9c389fa2ee911b0699baa.tar.bz2 go-tangerine-2c42e54519afaa5426e9c389fa2ee911b0699baa.tar.lz go-tangerine-2c42e54519afaa5426e9c389fa2ee911b0699baa.tar.xz go-tangerine-2c42e54519afaa5426e9c389fa2ee911b0699baa.tar.zst go-tangerine-2c42e54519afaa5426e9c389fa2ee911b0699baa.zip |
Makefile: add support for iOS cross compilation
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -7,10 +7,11 @@ .PHONY: geth-darwin geth-darwin-386 geth-darwin-amd64 .PHONY: geth-windows geth-windows-386 geth-windows-amd64 .PHONY: geth-android geth-android-16 geth-android-21 +.PHONY: geth-ios geth-ios-5.0 geth-ios-8.1 GOBIN = build/bin -CROSSDEPS = https://gmplib.org/download/gmp/gmp-6.0.0a.tar.bz2 +CROSSDEPS = https://gmplib.org/download/gmp/gmp-6.1.0.tar.bz2 GO ?= latest geth: @@ -83,6 +84,20 @@ geth-android-21: xgo @echo "Android 21 cross compilation done:" @ls -l $(GOBIN)/geth-android-21-* +geth-ios: xgo geth-ios-5.0 geth-ios-8.1 + @echo "iOS cross compilation done:" + @ls -l $(GOBIN)/geth-ios-* + +geth-ios-5.0: + build/env.sh $(GOBIN)/xgo --go=$(GO) --dest=$(GOBIN) --deps=$(CROSSDEPS) --depsargs=--disable-assembly --targets=ios-5.0/* -v $(shell build/flags.sh) ./cmd/geth + @echo "iOS 5.0 cross compilation done:" + @ls -l $(GOBIN)/geth-ios-5.0-* + +geth-ios-8.1: + build/env.sh $(GOBIN)/xgo --go=$(GO) --dest=$(GOBIN) --deps=$(CROSSDEPS) --depsargs=--disable-assembly --targets=ios-8.1/* -v $(shell build/flags.sh) ./cmd/geth + @echo "iOS 8.1 cross compilation done:" + @ls -l $(GOBIN)/geth-ios-8.1-* + evm: build/env.sh $(GOROOT)/bin/go install -v $(shell build/flags.sh) ./cmd/evm @echo "Done building." |