[go-nuts] Re: "go test" recompiling already-installed packages

2018-09-26 Thread armando . m . ramirez
I still have not gotten Go to reliably use the installed go-sqlite.a in all cases. However, I have found a workaround that is speeding up my builds. I found that GOCACHE was off, and after setting it, go-sqlite3 is compiled only once per nix-shell session. Re-entering nix-shell seems to cause

[go-nuts] "go test" recompiling already-installed packages

2018-09-25 Thread armando . m . ramirez
Hello, I've been playing around with one specific library and trying to speed up my build times. The library is https://github.com/mattn/go-sqlite3 which uses cgo and takes ~45sec to compile. I initially noticed that go build was being slow on packages that imported go-sqlite3, and top reveal