pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/go
Module Name: pkgsrc
Committed By: tnn
Date: Fri May 1 16:55:28 UTC 2020
Modified Files:
pkgsrc/lang/go: bootstrap.mk
Log Message:
go/bootstrap.mk: add manual user instructions for aarch64 bootstrap
In lieu of something better, like lang/go14 aarch64 support ...
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/go/bootstrap.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/go/bootstrap.mk
diff -u pkgsrc/lang/go/bootstrap.mk:1.2 pkgsrc/lang/go/bootstrap.mk:1.3
--- pkgsrc/lang/go/bootstrap.mk:1.2 Fri May 1 14:39:37 2020
+++ pkgsrc/lang/go/bootstrap.mk Fri May 1 16:55:28 2020
@@ -1,6 +1,19 @@
-# $NetBSD: bootstrap.mk,v 1.2 2020/05/01 14:39:37 tnn Exp $
+# $NetBSD: bootstrap.mk,v 1.3 2020/05/01 16:55:28 tnn Exp $
.if !defined(GOROOT_BOOTSTRAP) || !exists(${GOROOT_BOOTSTRAP}/bin/go)
BUILD_DEPENDS+= go14-1.4*:../../lang/go14
GOROOT_BOOTSTRAP= ${PREFIX}/go14
+
+. if ${MACHINE_ARCH} == "aarch64"
+PKG_FAIL_REASON+= "${MACHINE_ARCH} bootstrap toolchain missing!"
+PKG_FAIL_REASON+= "Please read ${PKGSRCDIR}/lang/go/bootstrap.mk"
+# For now you must manually set GOROOT_BOOTSTRAP in mk.conf.
+# I've uploaded a prebuilt NetBSD/evbarm-aarch64 pkgsrc package here:
+# https://ftp.netbsd.org/pub/pkgsrc/misc/tnn/golang-aarch64/
+#
+# Also this kernel patch is needed:
+# https://netbsd.org/~tnn/uc_setstack.diff.txt
+#
+. endif
+
.endif
Home |
Main Index |
Thread Index |
Old Index