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
Copy file name to clipboardExpand all lines: versions.sh
+41-40Lines changed: 41 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ versions=( "${versions[@]%/}" )
36
36
# https://github.com/golang/go/issues/34864
37
37
# https://github.com/golang/website/blob/41e922072f17ab2826d9479338314c025602a3a1/internal/dl/server.go#L174-L182 ... (the only way to get "unstable" releases is via "all", so we get to sort through "archive" releases too)
# i386 in Debian is non-SSE2, Alpine appears to be similar (but interesting, not FreeBSD?)
134
+
{ GOARCH: "386", GO386: "softfloat" }
135
+
elif $bashbrewArch == "amd64" then
136
+
# https://tip.golang.org/doc/go1.18#amd64
137
+
{ GOAMD64: "v1" }
138
+
# TODO ^^ figure out what to do with GOAMD64 / GO386 if/when the OS baselines change and these choices needs to be per-variant /o\ (probably move it to the template instead, in fact, since that is where we can most easily toggle based on variant)
139
+
elif $bashbrewArch | startswith("arm64v") then
140
+
{ GOARCH: "arm64" } # TODO do something with arm64 variant
0 commit comments