ports/189207: [patch] shells/bash is sound enough to parallel build
Jia-Shiun Li
jiashiun at gmail.com
Thu May 1 16:00:00 UTC 2014
>Number: 189207
>Category: ports
>Synopsis: [patch] shells/bash is sound enough to parallel build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu May 01 16:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Jia-Shiun Li
>Release: 11.0-CURRENT
>Organization:
>Environment:
FreeBSD 4cbsd 11.0-CURRENT FreeBSD 11.0-CURRENT #31 r264726: Tue Apr 22 01:19:28 CST 2014 jsli at 4cbsd:/usr/obj/usr/src/sys/Minimal amd64
>Description:
bash was marked MAKE_JOBS_UNSAFE 5 years ago[1]. It looks fine to parallel build now.
jsli at 4cbsd:/usr/ports/shells/bash # sysctl kern.smp.cpus hw.model
kern.smp.cpus: 4
hw.model: Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz
jsli at 4cbsd:/usr/ports/shells/bash # time make -DBATCH MAKE_JOBS_NUMBER=64
..
..
for d in CHANGES COMPAT NEWS POSIX RBASH README; do install -o root -g wheel -m 444 /usr/ports/shells/bash/work/bash-4.3/${d} /usr/ports/shells/bash/work/stage/usr/local/share/doc/bash; done
====> Compressing man pages (compress-man)
24.094u 7.309s 0:19.72 159.1% 31220+334k 0+262io 0pf+0w
jsli at 4cbsd:/usr/ports/shells/bash #
[1] http://docs.freebsd.org/cgi/getmsg.cgi?fetch=469716+0+/usr/local/www/db/text/2009/cvs-ports/20090510.cvs-ports
>How-To-Repeat:
>Fix:
patch attached to enable parallel build.
Patch attached with submission follows:
--- bash.orig/Makefile 2014-04-23 01:09:54.000000000 +0800
+++ bash/Makefile 2014-05-01 23:47:47.000000000 +0800
@@ -42,7 +42,6 @@
INFO= bash
-MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
PORTDOCS= FAQ INTRO CHANGES COMPAT NEWS POSIX RBASH README \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list