mattn / go-sqlite3

sqlite3 driver for go using database/sql
http://mattn.github.io/go-sqlite3
MIT License
8.04k stars 1.11k forks source link

cost so long time to build #1257

Open hchw opened 4 months ago

hchw commented 4 months ago

cost so lang time to build . Is there any way to speed it up?

jtarchie commented 4 months ago

If you are doing it within a container, ensure it has enough resources to compile.

hchw commented 4 months ago

thanks for reply, yes, I'm doing it with a container, the resouces is enough, but i will clean it after builded. in build mathion, no cache in the env

hchw commented 4 months ago

i mean the build container will be clean . i had build it from start always. i dont want to change build flow. how could i build it speedly

jtarchie commented 4 months ago

What you've described is a docker issue, not keeping the build cache.

Have you tried something like this? https://dev.to/jacktt/20x-faster-golang-docker-builds-289n