3 ms·
go install caches build artifacts and only rebuilds when necessary (or when explicitly instructured to rebuild everything). go build builds from scratch every t
by insertnickname 9y ago
go install caches build artifacts and only rebuilds when necessary (or when explicitly instructured to rebuild everything). go build builds from scratch every time—IIRC and if it hasn't changed since this I learned this. There's no need to attempt to reimplement go install's caching in make.
- lobster_johnson 9y agoYou can get build caching with "go build -i". It's a not very well known option.