Skip to content

Commit fed692f

Browse files
authored
Merge pull request ethereum#2916 from ethereum/release/1.4
Release/1.4
2 parents 5f55d95 + 99a0c76 commit fed692f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1364
-1810
lines changed

.gitignore

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,11 @@ Godeps/_workspace/bin
2323
.project
2424
.settings
2525

26-
deploy/osx/Mist.app
27-
deploy/osx/Mist\ Installer.dmg
28-
cmd/mist/assets/ext/ethereum.js/
29-
3026
# used by the Makefile
3127
/build/_workspace/
3228
/build/bin/
29+
/geth*.zip
3330

3431
# travis
3532
profile.tmp
3633
profile.cov
37-
38-
# vagrant
39-
.vagrant

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

.travis.yml

Lines changed: 34 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,45 @@
11
language: go
2-
go:
3-
- 1.4.2
4-
- 1.5.4
5-
- 1.6.2
2+
go_import_path: github.com/ethereum/go-ethereum
3+
sudo: false
4+
matrix:
5+
include:
6+
- os: linux
7+
dist: trusty
8+
go: 1.4.2
9+
- os: linux
10+
dist: trusty
11+
go: 1.5.4
12+
- os: linux
13+
dist: trusty
14+
go: 1.6.2
15+
- os: osx
16+
go: 1.6.2
17+
18+
# This builder does the PPA upload (and nothing else).
19+
- os: linux
20+
dist: trusty
21+
go: 1.6.2
22+
env: PPA
23+
addons:
24+
apt:
25+
packages:
26+
- devscripts
27+
- debhelper
28+
- dput
29+
script:
30+
- go run build/ci.go travis-debsrc
31+
632
install:
7-
# - go get code.google.com/p/go.tools/cmd/goimports
8-
# - go get github.com/golang/lint/golint
9-
# - go get golang.org/x/tools/cmd/vet
1033
- go get golang.org/x/tools/cmd/cover
11-
before_script:
12-
# - gofmt -l -w .
13-
# - goimports -l -w .
14-
# - golint .
15-
# - go vet ./...
16-
# - go test -race ./...
1734
script:
18-
- make travis-test-with-coverage
35+
- go run build/ci.go install
36+
- go run build/ci.go test -coverage -vet
1937
after_success:
20-
- bash <(curl -s https://codecov.io/bash)
21-
env:
22-
global:
23-
- secure: "U2U1AmkU4NJBgKR/uUAebQY87cNL0+1JHjnLOmmXwxYYyj5ralWb1aSuSH3qSXiT93qLBmtaUkuv9fberHVqrbAeVlztVdUsKAq7JMQH+M99iFkC9UiRMqHmtjWJ0ok4COD1sRYixxi21wb/JrMe3M1iL4QJVS61iltjHhVdM64="
24-
sudo: false
38+
# - go run build/ci.go archive -type tar
39+
2540
notifications:
2641
webhooks:
2742
urls:
2843
- https://webhooks.gitter.im/e/e09ccdce1048c5e03445
2944
on_success: change
3045
on_failure: always
31-
on_start: false

Godeps/Godeps.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Godeps/_workspace/src/github.com/ethereum/ethash/setup.py

100644100755
File mode changed.

Godeps/_workspace/src/github.com/ethereum/ethash/src/libethash/endian.h

Lines changed: 14 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Godeps/_workspace/src/github.com/ethereum/ethash/src/libethash/internal.c

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Godeps/_workspace/src/github.com/rjeczalik/notify/.travis.yml

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Godeps/_workspace/src/github.com/rjeczalik/notify/appveyor.yml

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Godeps/_workspace/src/github.com/rjeczalik/notify/watcher_fsevents.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Makefile

Lines changed: 54 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# with Go source code. If you know what GOPATH is then you probably
33
# don't need to bother with make.
44

5-
.PHONY: geth geth-cross evm all test travis-test-with-coverage xgo clean
6-
.PHONY: geth-linux geth-linux-386 geth-linux-amd64
5+
.PHONY: geth geth-cross evm all test clean
6+
.PHONY: geth-linux geth-linux-386 geth-linux-amd64 geth-linux-mips64 geth-linux-mips64le
77
.PHONY: geth-linux-arm geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7 geth-linux-arm64
88
.PHONY: geth-darwin geth-darwin-386 geth-darwin-amd64
99
.PHONY: geth-windows geth-windows-386 geth-windows-amd64
@@ -13,109 +13,112 @@ GOBIN = build/bin
1313
GO ?= latest
1414

1515
geth:
16-
build/env.sh go build -i -v $(shell build/flags.sh) -o $(GOBIN)/geth ./cmd/geth
16+
build/env.sh go run build/ci.go install ./cmd/geth
1717
@echo "Done building."
1818
@echo "Run \"$(GOBIN)/geth\" to launch geth."
1919

20+
evm:
21+
build/env.sh go run build/ci.go install ./cmd/evm
22+
@echo "Done building."
23+
@echo "Run \"$(GOBIN)/evm to start the evm."
24+
25+
all:
26+
build/env.sh go run build/ci.go install
27+
28+
test: all
29+
build/env.sh go run build/ci.go test
30+
31+
clean:
32+
rm -fr build/_workspace/pkg/ Godeps/_workspace/pkg $(GOBIN)/*
33+
34+
# Cross Compilation Targets (xgo)
35+
2036
geth-cross: geth-linux geth-darwin geth-windows geth-android geth-ios
2137
@echo "Full cross compilation done:"
2238
@ls -ld $(GOBIN)/geth-*
2339

24-
geth-linux: geth-linux-386 geth-linux-amd64 geth-linux-arm
40+
geth-linux: geth-linux-386 geth-linux-amd64 geth-linux-arm geth-linux-mips64 geth-linux-mips64le
2541
@echo "Linux cross compilation done:"
2642
@ls -ld $(GOBIN)/geth-linux-*
2743

28-
geth-linux-386: xgo
29-
build/env.sh $(GOBIN)/xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/386 -v $(shell build/flags.sh) ./cmd/geth
44+
geth-linux-386:
45+
build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/386 -v ./cmd/geth
3046
@echo "Linux 386 cross compilation done:"
3147
@ls -ld $(GOBIN)/geth-linux-* | grep 386
3248

33-
geth-linux-amd64: xgo
34-
build/env.sh $(GOBIN)/xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/amd64 -v $(shell build/flags.sh) ./cmd/geth
49+
geth-linux-amd64:
50+
build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/amd64 -v ./cmd/geth
3551
@echo "Linux amd64 cross compilation done:"
3652
@ls -ld $(GOBIN)/geth-linux-* | grep amd64
3753

3854
geth-linux-arm: geth-linux-arm-5 geth-linux-arm-6 geth-linux-arm-7 geth-linux-arm64
3955
@echo "Linux ARM cross compilation done:"
4056
@ls -ld $(GOBIN)/geth-linux-* | grep arm
4157

42-
geth-linux-arm-5: xgo
43-
build/env.sh $(GOBIN)/xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/arm-5 -v $(shell build/flags.sh) ./cmd/geth
58+
geth-linux-arm-5:
59+
build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/arm-5 -v ./cmd/geth
4460
@echo "Linux ARMv5 cross compilation done:"
4561
@ls -ld $(GOBIN)/geth-linux-* | grep arm-5
4662

47-
geth-linux-arm-6: xgo
48-
build/env.sh $(GOBIN)/xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/arm-6 -v $(shell build/flags.sh) ./cmd/geth
63+
geth-linux-arm-6:
64+
build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/arm-6 -v ./cmd/geth
4965
@echo "Linux ARMv6 cross compilation done:"
5066
@ls -ld $(GOBIN)/geth-linux-* | grep arm-6
5167

52-
geth-linux-arm-7: xgo
53-
build/env.sh $(GOBIN)/xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/arm-7 -v $(shell build/flags.sh) ./cmd/geth
68+
geth-linux-arm-7:
69+
build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/arm-7 -v ./cmd/geth
5470
@echo "Linux ARMv7 cross compilation done:"
5571
@ls -ld $(GOBIN)/geth-linux-* | grep arm-7
5672

57-
geth-linux-arm64: xgo
58-
build/env.sh $(GOBIN)/xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/arm64 -v $(shell build/flags.sh) ./cmd/geth
73+
geth-linux-arm64:
74+
build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/arm64 -v ./cmd/geth
5975
@echo "Linux ARM64 cross compilation done:"
6076
@ls -ld $(GOBIN)/geth-linux-* | grep arm64
6177

78+
geth-linux-mips64:
79+
build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/mips64 -v ./cmd/geth
80+
@echo "Linux MIPS64 cross compilation done:"
81+
@ls -ld $(GOBIN)/geth-linux-* | grep mips64
82+
83+
geth-linux-mips64le:
84+
build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=linux/mips64le -v ./cmd/geth
85+
@echo "Linux MIPS64le cross compilation done:"
86+
@ls -ld $(GOBIN)/geth-linux-* | grep mips64le
87+
6288
geth-darwin: geth-darwin-386 geth-darwin-amd64
6389
@echo "Darwin cross compilation done:"
6490
@ls -ld $(GOBIN)/geth-darwin-*
6591

66-
geth-darwin-386: xgo
67-
build/env.sh $(GOBIN)/xgo --go=$(GO) --dest=$(GOBIN) --targets=darwin/386 -v $(shell build/flags.sh) ./cmd/geth
92+
geth-darwin-386:
93+
build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=darwin/386 -v ./cmd/geth
6894
@echo "Darwin 386 cross compilation done:"
6995
@ls -ld $(GOBIN)/geth-darwin-* | grep 386
7096

71-
geth-darwin-amd64: xgo
72-
build/env.sh $(GOBIN)/xgo --go=$(GO) --dest=$(GOBIN) --targets=darwin/amd64 -v $(shell build/flags.sh) ./cmd/geth
97+
geth-darwin-amd64:
98+
build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=darwin/amd64 -v ./cmd/geth
7399
@echo "Darwin amd64 cross compilation done:"
74100
@ls -ld $(GOBIN)/geth-darwin-* | grep amd64
75101

76102
geth-windows: geth-windows-386 geth-windows-amd64
77103
@echo "Windows cross compilation done:"
78104
@ls -ld $(GOBIN)/geth-windows-*
79105

80-
geth-windows-386: xgo
81-
build/env.sh $(GOBIN)/xgo --go=$(GO) --dest=$(GOBIN) --targets=windows/386 -v $(shell build/flags.sh) ./cmd/geth
106+
geth-windows-386:
107+
build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=windows/386 -v ./cmd/geth
82108
@echo "Windows 386 cross compilation done:"
83109
@ls -ld $(GOBIN)/geth-windows-* | grep 386
84110

85-
geth-windows-amd64: xgo
86-
build/env.sh $(GOBIN)/xgo --go=$(GO) --dest=$(GOBIN) --targets=windows/amd64 -v $(shell build/flags.sh) ./cmd/geth
111+
geth-windows-amd64:
112+
build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=windows/amd64 -v ./cmd/geth
87113
@echo "Windows amd64 cross compilation done:"
88114
@ls -ld $(GOBIN)/geth-windows-* | grep amd64
89115

90-
geth-android: xgo
91-
build/env.sh $(GOBIN)/xgo --go=$(GO) --dest=$(GOBIN) --targets=android-21/aar -v $(shell build/flags.sh) ./cmd/geth
116+
geth-android:
117+
build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=android-21/aar -v ./cmd/geth
92118
@echo "Android cross compilation done:"
93119
@ls -ld $(GOBIN)/geth-android-*
94120

95-
geth-ios: xgo
96-
build/env.sh $(GOBIN)/xgo --go=$(GO) --dest=$(GOBIN) --targets=ios-7.0/framework -v $(shell build/flags.sh) ./cmd/geth
121+
geth-ios:
122+
build/env.sh go run build/ci.go xgo --go=$(GO) --dest=$(GOBIN) --targets=ios-7.0/framework -v ./cmd/geth
97123
@echo "iOS framework cross compilation done:"
98124
@ls -ld $(GOBIN)/geth-ios-*
99-
100-
evm:
101-
build/env.sh $(GOROOT)/bin/go install -v $(shell build/flags.sh) ./cmd/evm
102-
@echo "Done building."
103-
@echo "Run \"$(GOBIN)/evm to start the evm."
104-
105-
all:
106-
for cmd in `ls ./cmd/`; do \
107-
build/env.sh go build -i -v $(shell build/flags.sh) -o $(GOBIN)/$$cmd ./cmd/$$cmd; \
108-
done
109-
110-
test: all
111-
build/env.sh go test ./...
112-
113-
travis-test-with-coverage: all
114-
build/env.sh go vet ./...
115-
build/env.sh build/test-global-coverage.sh
116-
117-
xgo:
118-
build/env.sh go get github.com/karalabe/xgo
119-
120-
clean:
121-
rm -fr build/_workspace/pkg/ Godeps/_workspace/pkg $(GOBIN)/*

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.10
1+
1.4.11

appveyor.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
os: Visual Studio 2015
2+
3+
# Clone directly into GOPATH.
4+
clone_folder: c:\gopath\src\github.com\ethereum\go-ethereum
5+
clone_depth: 5
6+
version: "{branch}.{build}"
7+
environment:
8+
global:
9+
GOPATH: c:\gopath
10+
11+
# cache choco package files so we don't hit sourceforge all
12+
# the time.
13+
cache:
14+
- c:\cache
15+
16+
install:
17+
- cmd: choco install --cache c:\cache golang mingw | find /v "Extracting "
18+
- refreshenv
19+
- cd c:\gopath\src\github.com\ethereum\go-ethereum
20+
21+
build_script:
22+
- go run build\ci.go install
23+
24+
test_script:
25+
- go run build\ci.go test -vet -coverage
26+
27+
after_build:
28+
- go run build\ci.go archive -type zip
29+
30+
artifacts:
31+
- path: geth-*.zip

0 commit comments

Comments
 (0)