go: add v1.22.0 (#42611)
This commit is contained in:
parent
6dbb56ba36
commit
722b00bbfb
@ -34,6 +34,17 @@ class GoBootstrap(Package):
|
||||
# should update these binary releases on a yearly schedule as
|
||||
# bootstrapping requirements are modified by new releases of go.
|
||||
go_releases = {
|
||||
"1.20.6": {
|
||||
"darwin": {
|
||||
"amd64": "98a09c085b4c385abae7d35b9155195d5e584d14988347ac7f18e4cbe3b5ef3d",
|
||||
"arm64": "1163be1998835a13f00dfc869a8e3cdebf86984ad41ff2fff43e35ac2a0d8344",
|
||||
},
|
||||
"linux": {
|
||||
"amd64": "b945ae2bb5db01a0fb4786afde64e6fbab50b67f6fa0eb6cfa4924f16a7ff1eb",
|
||||
"arm64": "4e15ab37556e979181a1a1cc60f6d796932223a0f5351d7c83768b356f84429b",
|
||||
"ppc64le": "a1b91a42a40bba54bfd5c96c23d72250e0c424038d0d2b5c7950b828b4905822",
|
||||
},
|
||||
},
|
||||
"1.17.13": {
|
||||
"darwin": {
|
||||
"amd64": "c101beaa232e0f448fab692dc036cd6b4677091ff89c4889cc8754b1b29c6608",
|
||||
@ -44,7 +55,7 @@ class GoBootstrap(Package):
|
||||
"arm64": "914daad3f011cc2014dea799bb7490442677e4ad6de0b2ac3ded6cee7e3f493d",
|
||||
"ppc64le": "bd0763fb130f8412672ffe1e4a8e65888ebe2419e5caa9a67ac21e8c298aa254",
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
# Normalize architectures returned by platform to those used by the
|
||||
|
@ -41,6 +41,7 @@ class Go(Package):
|
||||
|
||||
license("BSD-3-Clause")
|
||||
|
||||
version("1.22.0", sha256="4d196c3d41a0d6c1dfc64d04e3cc1f608b0c436bd87b7060ce3e23234e1f4d5c")
|
||||
version("1.21.6", sha256="124926a62e45f78daabbaedb9c011d97633186a33c238ffc1e25320c02046248")
|
||||
version("1.21.5", sha256="285cbbdf4b6e6e62ed58f370f3f6d8c30825d6e56c5853c66d3c23bcdb09db19")
|
||||
|
||||
@ -100,6 +101,7 @@ class Go(Package):
|
||||
depends_on("git", type="run")
|
||||
depends_on("go-or-gccgo-bootstrap", type="build")
|
||||
depends_on("go-or-gccgo-bootstrap@1.17.13:", type="build", when="@1.20:")
|
||||
depends_on("go-or-gccgo-bootstrap@1.20.6:", type="build", when="@1.22:")
|
||||
|
||||
phases = ["build", "install"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user