Skip to content

Commit

Permalink
go: update to version 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
ci42 committed Feb 1, 2023
1 parent 266bf6e commit 01d73a1
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions lang/go/Portfile
Expand Up @@ -20,7 +20,7 @@ if {${os.platform} eq "darwin" && ${os.major} < 17} {
version 1.17.13
set unsupported_macos true
} else {
version 1.19.5
version 1.20
set unsupported_macos false
}

Expand Down Expand Up @@ -101,19 +101,19 @@ if {$subport eq "${name}-devel"} {
Please note: Go 1.18 does not build on macOS 10.12 and older, so Go ${version} has been installed.
"
} else {
# 1.19
# 1.20
checksums ${go_src_dist} \
rmd160 99d9e5f644203083ece70679ce379f2704428be1 \
sha256 8e486e8e85a281fc5ce3f0bedc5b9d2dbf6276d7db0b25d3ec034f313da0375f \
size 26545858 \
rmd160 ad886a2eac94b88b23cb5578e2616170b137042c \
sha256 3a29ff0421beaf6329292b8a46311c9fbf06c800077ceddef5fb7f8d5b1ace33 \
size 26163076 \
${go_armbin_dist} \
rmd160 2b9d44b9e1f3c9aed6c468c19dc18941aedc28c3 \
sha256 4a67f2bf0601afe2177eb58f825adf83509511d77ab79174db0712dc9efa16c8 \
size 146449161 \
rmd160 558002ea669d11423472d1d0c39f8c5e5af75950 \
sha256 32864d6fe888714ca7b421b5997269c7f6349d7e2675c3a399133e521787608b \
size 96037939 \
${go_amdbin_dist} \
rmd160 703d7a1344e98cf8caa296e1f34855bf7a7b62b8 \
sha256 23d22bb6571bbd60197bee8aaa10e702f9802786c2e2ddce5c84527e86b66aa0 \
size 152217590
rmd160 d031746937c36e942e14e9e38a1833abf8fd4dcc \
sha256 777025500f62d14bb5a4923072cd97431887961d24de08433a60c2fe1120531d \
size 99857143
}

livecheck.regex {go([0-9.]+)\.src\.tar\.gz}
Expand Down

2 comments on commit 01d73a1

@herbygillot
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ci42 Did you test this across all architectures before committing?

We have a PR for exactly this change here: #17559 - and it is failing to build on x86_64 because Go 1.20 does not build off of the go-1.4 port.

@herbygillot
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ci42 As I mentioned, Go 1.20 isn't building on x86_64 because it doesn't build off of Go 1.4: https://trac.macports.org/ticket/66819

Please commit a fix for this issue.

Please sign in to comment.