Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/go go/bootstrap.mk: add manual user instructions ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/abab4cd217e4
branches: trunk
changeset: 430521:abab4cd217e4
user: tnn <tnn%pkgsrc.org@localhost>
date: Fri May 01 16:55:28 2020 +0000
description:
go/bootstrap.mk: add manual user instructions for aarch64 bootstrap
In lieu of something better, like lang/go14 aarch64 support ...
diffstat:
lang/go/bootstrap.mk | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 283a9b24783f -r abab4cd217e4 lang/go/bootstrap.mk
--- a/lang/go/bootstrap.mk Fri May 01 16:39:59 2020 +0000
+++ b/lang/go/bootstrap.mk Fri May 01 16:55:28 2020 +0000
@@ -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