pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/rust Loosen data/address space limits. Apply it c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0c7252fef5d
branches:  trunk
changeset: 414285:b0c7252fef5d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Mar 24 20:41:18 2020 +0000

description:
Loosen data/address space limits. Apply it consistently during the build.

diffstat:

 lang/rust/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r ab25b54fc4e5 -r b0c7252fef5d lang/rust/Makefile
--- a/lang/rust/Makefile        Tue Mar 24 20:40:15 2020 +0000
+++ b/lang/rust/Makefile        Tue Mar 24 20:41:18 2020 +0000
@@ -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 @@
 
 CFLAGS.SunOS+=         -D_POSIX_PTHREAD_SEMANTICS
 
-UNLIMIT_RESOURCES+=    cputime
+UNLIMIT_RESOURCES+=    cputime datasize virtualsize
 
 TEST_TARGET=   check
 
@@ -360,12 +360,12 @@
 
 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