You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a package that uses cgo and some C files in it. When I compile, it will compile c files in sequence, not parallel. This will take most compile time. I think we should compile it in parallel automatically or add some parameter to decide by user.
The text was updated successfully, but these errors were encountered:
If you move the cgo code into a separate package, then go tool will be able to compile it once and cache the result.
ianlancetaylor
changed the title
cgo can not compile c code in parallel
cmd/go: a package that uses cgo does not compile c code in parallel
Nov 5, 2015
I have a package that uses cgo and some C files in it. When I compile, it will compile c files in sequence, not parallel. This will take most compile time. I think we should compile it in parallel automatically or add some parameter to decide by user.
The text was updated successfully, but these errors were encountered: