Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: fix version comparison for Go 1.10+ #15781

Merged
merged 2 commits into from
Jan 2, 2018

Conversation

karalabe
Copy link
Member

This is a bug that appears when users upgrade to Go 1.10. Our version comparison in the make scripts use textual comparison to check if we have at least Go 1.7 available. However, "Go1.10" is less than "Go1.7", so make refuses building with Go 1.10.

The PR changes the logic so that instead of textual comparison, we try to parse the minor version number and numerically compare against 7.

@fjl fjl merged commit 2fe07c2 into ethereum:master Jan 2, 2018
dm4 pushed a commit to second-state/lityvm that referenced this pull request Apr 25, 2018
jyap808 referenced this pull request Apr 30, 2018
We have decided to bump the requirement to Go 1.7 because it enables
subtests and allows dropping backwards-compatibility code. This is in
line with Go's support policy. Go 1.6 and earlier no longer receive
security updates.
dm4 pushed a commit to second-state/lityvm that referenced this pull request May 9, 2018
Salokyn pushed a commit to banquedefrance/go-ethereum that referenced this pull request Jul 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants