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: joerg
Date: Tue Mar 24 20:41:18 UTC 2020
Modified Files:
pkgsrc/lang/rust: Makefile
Log Message:
Loosen data/address space limits. Apply it consistently during the build.
To generate a diff of this commit:
cvs rdiff -u -r1.157 -r1.158 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.157 pkgsrc/lang/rust/Makefile:1.158
--- pkgsrc/lang/rust/Makefile:1.157 Fri Mar 20 09:25:00 2020
+++ pkgsrc/lang/rust/Makefile Tue Mar 24 20:41:18 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.157 2020/03/20 09:25:00 he Exp $
+# $NetBSD: Makefile,v 1.158 2020/03/24 20:41:18 joerg Exp $
DISTNAME= rustc-1.42.0-src
PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -99,7 +99,7 @@ MAKE_ENV+= CARGO_BUILD_JOBS=${_MAKE_JOB
CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
-UNLIMIT_RESOURCES+= cputime
+UNLIMIT_RESOURCES+= cputime datasize virtualsize
TEST_TARGET= check
@@ -360,12 +360,12 @@ pre-build: pre-build-fix
do-build:
cd ${WRKSRC} \
- && ${SETENV} ${MAKE_ENV} \
+ && ${_ULIMIT_CMD} ${SETENV} ${MAKE_ENV} \
${PYTHONBIN} ./x.py -v ${BUILD_TARGET} -j ${_MAKE_JOBS_N}
do-install:
cd ${WRKSRC} \
- && ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} \
+ && ${_ULIMIT_CMD} ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} \
${PYTHONBIN} ./x.py -v install -j ${_MAKE_JOBS_N}
GENERATE_PLIST+= find ${DESTDIR}${PREFIX} \( -type f -o -type l \) -print | \
Home |
Main Index |
Thread Index |
Old Index