tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[PATCH] go-bin for macOS on Apple Silicon
Hi!
The Go team has released Go 1.16 beta 1 with a binary release for
darwin/arm64. I tried adding it to go-bin, but I am not sure if I am doing
it right. I left the other architectures at 1.14.2 as before and override
PKGNAME on darwin/arm64.
What's more, I have no ARM Mac to test this. I would be grateful if
someone could try it on theirs.
Any comments? It would be awesome if we could get this in before the
branch.
--
Benny
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/go-bin/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 31 Aug 2020 18:09:50 -0000 1.2
+++ Makefile 18 Dec 2020 19:35:45 -0000
@@ -35,6 +35,16 @@
EXTRACT_ONLY+= ${DIST.darwin-amd64}
.endif
+ONLY_FOR_PLATFORM+= Darwin-*-arm64
+.if !empty(MACHINE_PLATFORM:MDarwin-*-arm64)
+PKGNAME= go-1.16.beta1
+.endif
+DIST.darwin-arm64= go1.16beta1.darwin-arm64.tar.gz
+.if !empty(MACHINE_PLATFORM:MDarwin-*-arm64) || make(distinfo)
+DISTFILES+= ${DIST.darwin-arm64}
+EXTRACT_ONLY+= ${DIST.darwin-arm64}
+.endif
+
ONLY_FOR_PLATFORM+= Linux-*-i386
DIST.linux-386= go${PKGVERSION_NOREV}.linux-386.tar.gz
.if !empty(MACHINE_PLATFORM:MLinux-*-i386) || make(distinfo)
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/lang/go-bin/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo 2 May 2020 20:07:31 -0000 1.1
+++ distinfo 18 Dec 2020 19:35:45 -0000
@@ -24,3 +24,7 @@
RMD160 (go1.14.2.netbsd-arm64.tar.gz) = 9f8b1c91f906db09f1031a5008d50cf4fedf5a3f
SHA512 (go1.14.2.netbsd-arm64.tar.gz) = d3750a3092118e05aa9b4a0a59ae2d49950d0c259a92b54c230d98e239725acd240556643ce7019a5d1ea3ecd1ccc37fc6bcc4e8b7a9a0f32d347f4daa4dccbf
Size (go1.14.2.netbsd-arm64.tar.gz) = 123662640 bytes
+SHA1 (go1.16beta1.darwin-arm64.tar.gz) = e3ada457bfe3aa26466721ab8a1a511050b45cfd
+RMD160 (go1.16beta1.darwin-arm64.tar.gz) = e52a589b00650f86e765c7b107686e07df2b18c0
+SHA512 (go1.16beta1.darwin-arm64.tar.gz) = 9cc0def8c852e8f2550e8bd5ba0cdbba8892b3ecd8c855fb1e19603ec7fa2e0572d74bce47f62bfb3039024f65c8ff17fca777cef7fd5e25f2dd77ecb66c05d6
+Size (go1.16beta1.darwin-arm64.tar.gz) = 127918903 bytes
Home |
Main Index |
Thread Index |
Old Index