|author||Hajime Hoshi <firstname.lastname@example.org>||Tue Oct 11 23:42:42 2022 +0900|
|committer||Hajime Hoshi <email@example.com>||Thu Oct 20 08:52:26 2022 +0000|
cmd/gomobile: concurrent build for iOS archive files This change makes building archive files for iOS concurrent for each architecture and each platform. The strategy is basically the same as my previous CL for Android: https://go.dev/cl/426274. This change also specifies GOMODCACHE explicitly when executing Go commands so that the existing cache is always used. The default GOMODCACHE is $GOPATH/pkg/mod, and this path varies when a temporary GOPATH is specified, which results in cold cache. Before this change (on my MacBook Pro 2020): $ time go run ./cmd/gomobile/ bind -target ios ./example/bind/hello/ real 0m23.274s user 0m15.751s sys 0m10.469s After this change: $ time go run ./cmd/gomobile/ bind -target ios ./example/bind/hello/ real 0m8.059s user 0m13.763s sys 0m9.004s Updates golang/go#37902 Updates golang/go#54770 Change-Id: Iaeb077b58c22ab63d28f78972a0af76660883a05 Reviewed-on: https://go-review.googlesource.com/c/mobile/+/442195 Reviewed-by: Changkun Ou <firstname.lastname@example.org> Run-TryBot: Hajime Hoshi <email@example.com> Reviewed-by: Dmitri Shuralyov <firstname.lastname@example.org> TryBot-Result: Gopher Robot <email@example.com> Reviewed-by: Hyang-Ah Hana Kim <firstname.lastname@example.org> Reviewed-by: Dmitri Shuralyov <email@example.com>
The Go mobile repository holds packages and build tools for using Go on mobile platforms.
Package documentation as a starting point:
The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.
Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.