pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/rust
Module Name: pkgsrc
Committed By: he
Date: Mon Jul 6 16:12:14 UTC 2020
Modified Files:
pkgsrc/lang/rust: Makefile
Log Message:
On second thought, put back the settings for powerpc and earmv7hf,
as they are needed when building natively on those platforms.
To generate a diff of this commit:
cvs rdiff -u -r1.183 -r1.184 pkgsrc/lang/rust/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/rust/Makefile
diff -u pkgsrc/lang/rust/Makefile:1.183 pkgsrc/lang/rust/Makefile:1.184
--- pkgsrc/lang/rust/Makefile:1.183 Mon Jul 6 16:03:00 2020
+++ pkgsrc/lang/rust/Makefile Mon Jul 6 16:12:14 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.183 2020/07/06 16:03:00 he Exp $
+# $NetBSD: Makefile,v 1.184 2020/07/06 16:12:14 he Exp $
-DISTNAME= rustc-1.44.1-src
+DISTNAME= rustc-1.44.0-src
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
CATEGORIES= lang
MASTER_SITES= http://static.rust-lang.org/dist/
@@ -72,6 +72,27 @@ CHECK_SSP_SUPPORTED= no
.include "../../mk/bsd.prefs.mk"
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-powerpc) || \
+ !empty(MACHINE_PLATFORM:MNetBSD-*-earmv7hf)
+# Bootstrapping on NetBSD/powerpc requires no debug-info from rustc
+# (both for amd64->powerpc built and powerpc->powerpc built bootstrap bits)
+CONFIGURE_ARGS+= --disable-debug
+CONFIGURE_ARGS+= --disable-debug-assertions
+CONFIGURE_ARGS+= --disable-llvm-release-debuginfo
+CONFIGURE_ARGS+= --debuginfo-level=0
+CONFIGURE_ARGS+= --debuginfo-level-rustc=0
+CONFIGURE_ARGS+= --debuginfo-level-std=0
+CONFIGURE_ARGS+= --debuginfo-level-tools=0
+CONFIGURE_ARGS+= --debuginfo-level-tests=0
+.endif
+
+# Only build the ARM target on/for this host, due to resource constraints
+# (X86 needs to go along due to 2-stage build process)
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-earmv7hf) || \
+ !empty(TARGET:Marmv7-unknown-netbsd-eabihf)
+CONFIGURE_ARGS+= --set llvm.targets="ARM;X86"
+.endif
+
.if ${OPSYS} == "NetBSD"
# This block contains information about known trouble on NetBSD and workarounds.
Home |
Main Index |
Thread Index |
Old Index