Update src.techknowlogick.com/xgo commit hash to c43d4c4 (#224)
Update src.techknowlogick.com/xgo commit hash to c43d4c4 Reviewed-on: https://kolaente.dev/vikunja/api/pulls/224
This commit is contained in:
21
vendor/src.techknowlogick.com/xgo/README.md
generated
vendored
21
vendor/src.techknowlogick.com/xgo/README.md
generated
vendored
@ -1,5 +1,7 @@
|
||||
# xgo - Go CGO cross compiler
|
||||
|
||||
[](https://cloud.drone.io/techknowlogick/xgo)
|
||||
|
||||
Although Go strives to be a cross platform language, cross compilation from one
|
||||
platform to another is not as simple as it could be, as you need the Go sources
|
||||
bootstrapped to each platform and architecture.
|
||||
@ -53,10 +55,8 @@ Simply specify the import path you want to build, and xgo will do the rest:
|
||||
...
|
||||
|
||||
$ ls -al
|
||||
-rwxr-xr-x 1 root root 9995000 Nov 24 16:44 iris-android-16-arm
|
||||
-rwxr-xr-x 1 root root 6776500 Nov 24 16:44 iris-darwin-10.6-386
|
||||
-rwxr-xr-x 1 root root 8755532 Nov 24 16:44 iris-darwin-10.6-amd64
|
||||
-rwxr-xr-x 1 root root 7114176 Nov 24 16:45 iris-ios-5.0-arm
|
||||
-rwxr-xr-x 1 root root 10135248 Nov 24 16:44 iris-linux-386
|
||||
-rwxr-xr-x 1 root root 12598472 Nov 24 16:44 iris-linux-amd64
|
||||
-rwxr-xr-x 1 root root 10040464 Nov 24 16:44 iris-linux-arm
|
||||
@ -85,20 +85,18 @@ A handful of flags can be passed to `go build`. The currently supported ones are
|
||||
|
||||
As newer versions of the language runtime, libraries and tools get released,
|
||||
these will get incorporated into xgo too as extensions layers to the base cross
|
||||
compilation image (only Go 1.3 and above will be supported).
|
||||
compilation image (only Go 1.13 and above will be supported).
|
||||
|
||||
You can select which Go release to work with through the `-go` command line flag
|
||||
to xgo and if the specific release was already integrated, it will automatically
|
||||
be retrieved and installed.
|
||||
|
||||
$ xgo -go 1.6.1 github.com/project-iris/iris
|
||||
$ xgo -go go-1.13.2 github.com/project-iris/iris
|
||||
|
||||
Additionally, a few wildcard release strings are also supported:
|
||||
|
||||
- `latest` will use the latest Go release (this is the default)
|
||||
- `1.6.x` will use the latest point release of a specific Go version
|
||||
- `1.6-develop` will use the develop branch of a specific Go version
|
||||
- `develop` will use the develop branch of the entire Go repository
|
||||
- `go-1.13.x` will use the latest point release of a specific Go version
|
||||
|
||||
### Output prefixing
|
||||
|
||||
@ -109,10 +107,8 @@ file prefix. This can be overridden with the `-out` flag.
|
||||
...
|
||||
|
||||
$ ls -al
|
||||
-rwxr-xr-x 1 root root 9995000 Nov 24 16:44 iris-v0.3.2-android-16-arm
|
||||
-rwxr-xr-x 1 root root 6776500 Nov 24 16:44 iris-v0.3.2-darwin-10.6-386
|
||||
-rwxr-xr-x 1 root root 8755532 Nov 24 16:44 iris-v0.3.2-darwin-10.6-amd64
|
||||
-rwxr-xr-x 1 root root 7114176 Nov 24 16:45 iris-v0.3.2-ios-5.0-arm
|
||||
-rwxr-xr-x 1 root root 10135248 Nov 24 16:44 iris-v0.3.2-linux-386
|
||||
-rwxr-xr-x 1 root root 12598472 Nov 24 16:44 iris-v0.3.2-linux-amd64
|
||||
-rwxr-xr-x 1 root root 10040464 Nov 24 16:44 iris-v0.3.2-linux-arm
|
||||
@ -130,10 +126,8 @@ the desired branch name through the `--branch` argument.
|
||||
...
|
||||
|
||||
$ ls -al
|
||||
-rwxr-xr-x 1 root root 4171248 Nov 24 16:40 goimports-android-16-arm
|
||||
-rwxr-xr-x 1 root root 4139868 Nov 24 16:40 goimports-darwin-10.6-386
|
||||
-rwxr-xr-x 1 root root 5186720 Nov 24 16:40 goimports-darwin-10.6-amd64
|
||||
-rwxr-xr-x 1 root root 3202364 Nov 24 16:40 goimports-ios-5.0-arm
|
||||
-rwxr-xr-x 1 root root 4189456 Nov 24 16:40 goimports-linux-386
|
||||
-rwxr-xr-x 1 root root 5264136 Nov 24 16:40 goimports-linux-amd64
|
||||
-rwxr-xr-x 1 root root 4209416 Nov 24 16:40 goimports-linux-arm
|
||||
@ -163,10 +157,8 @@ parameter to select the exact package within, honoring any prior *branch* and
|
||||
...
|
||||
|
||||
$ ls -al
|
||||
-rwxr-xr-x 1 root root 4194956 Nov 24 16:38 goimports-android-16-arm
|
||||
-rwxr-xr-x 1 root root 4164448 Nov 24 16:38 goimports-darwin-10.6-386
|
||||
-rwxr-xr-x 1 root root 5223584 Nov 24 16:38 goimports-darwin-10.6-amd64
|
||||
-rwxr-xr-x 1 root root 3222848 Nov 24 16:39 goimports-ios-5.0-arm
|
||||
-rwxr-xr-x 1 root root 4217184 Nov 24 16:38 goimports-linux-386
|
||||
-rwxr-xr-x 1 root root 5295768 Nov 24 16:38 goimports-linux-amd64
|
||||
-rwxr-xr-x 1 root root 4233120 Nov 24 16:38 goimports-linux-arm
|
||||
@ -191,7 +183,7 @@ argument:
|
||||
|
||||
The supported targets are:
|
||||
|
||||
* Platforms: `android`, `darwin`, `ios`, `linux`, `windows`
|
||||
* Platforms: `darwin`, `linux`, `windows`
|
||||
* Achitectures: `386`, `amd64`, `arm-5`, `arm-6`, `arm-7`, `arm64`, `mips`, `mipsle`, `mips64`, `mips64le`
|
||||
|
||||
### Platform versions
|
||||
@ -207,7 +199,6 @@ selection of specific platform versions by appending them to the OS target strin
|
||||
|
||||
The supported platforms are:
|
||||
|
||||
* All Android APIs up to Android Lollipop 5.0 ([API level ids](https://source.android.com/source/build-numbers.html))
|
||||
* All Windows APIs up to Windows 8.1 limited by `mingw-w64` ([API level ids](https://en.wikipedia.org/wiki/Windows_NT#Releases))
|
||||
* OSX APIs in the range of 10.6 - 10.14
|
||||
|
||||
|
Reference in New Issue
Block a user