go-sqlite3 icon indicating copy to clipboard operation
go-sqlite3 copied to clipboard

cost so long time to build

Open hchw opened this issue 1 year ago • 4 comments

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

hchw avatar Jul 05 '24 03:07 hchw

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

jtarchie avatar Jul 15 '24 01:07 jtarchie

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 avatar Jul 19 '24 08:07 hchw

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

hchw avatar Jul 19 '24 08:07 hchw

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

jtarchie avatar Jul 19 '24 13:07 jtarchie