Skip to content

Conversation

@fjl
Copy link
Contributor

@fjl fjl commented Jan 10, 2020

This removes the dirty symlink-to-self hack we've had for years. The
script was added to enable building without GOPATH and did that job
reliably for all this time. We can remove the workaround because modern
Go supports building without GOPATH natively.

This removes the dirty symlink-to-self hack we've had for years. The
script was added to enable building without GOPATH and did that job
reliably for all this time. We can remove the workaround because modern
Go supports building without GOPATH natively.
@karalabe
Copy link
Member

Modern Go = 1.13. Are we willing to "drop" support for older versions though? Shouldn't we wait until perhps Go 1.14 arrives with this?

@fjl
Copy link
Contributor Author

fjl commented Jan 13, 2020

AFAIK, even go 1.11 can build geth with GO111MODULE=on. I'll add that to the Makefile.

@fjl
Copy link
Contributor Author

fjl commented Jan 14, 2020

@karalabe PTAL

@karalabe karalabe added this to the 1.9.10 milestone Jan 14, 2020
Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

@karalabe karalabe merged commit feda78e into ethereum:master Jan 14, 2020
enriquefynn pushed a commit to enriquefynn/go-ethereum that referenced this pull request Mar 10, 2021
* build: remove env.sh

This removes the dirty symlink-to-self hack we've had for years. The
script was added to enable building without GOPATH and did that job
reliably for all this time. We can remove the workaround because modern
Go supports building without GOPATH natively.

* Makefile: add GO111MODULE=on to environment
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