Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: packages that use cgo not cached when cross-compiling android .so file #29132
Here is my build command (fast in go1.9.2), I used goroutines and waitgroup to make it build two android cpu arch in two processes to make it faster:
My computer os is mac os 10.13.6
build time with go1.11.2
build time with go1.9.2
What I have already tried
Looks like I have already did what i can do to make the build faster in the command line without read the actually build source code to find some hidden faster flag.
My build script to cross build .a file (-buildmode=c-archive) to ios(darwin arm64) have the same problem.
So My problem is What command line should I use, if I want faster corss build to android with go1.11.2?