<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/bin/Makefile, branch upstream/10.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F10.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F10.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2014-04-09T18:16:58Z</updated>
<entry>
<title>MFC r263778:</title>
<updated>2014-04-09T18:16:58Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2014-04-09T18:16:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9fce37552a6512800af66694fa61d2b2652cd333'/>
<id>urn:sha1:9fce37552a6512800af66694fa61d2b2652cd333</id>
<content type='text'>
Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process
all the SUBDIR entries in parallel, instead of serially.  Apply this
option to a selected number of Makefiles, which can greatly speed up the
build on multi-core machines, when using make -j.

This can be extended to more Makefiles later on, whenever they are
verified to work correctly with parallel building.

I tested this on a 24-core machine, with make -j48 buildworld (N = 6):

		before    stddev       after    stddev
		=======   ======       =======  ======
real time        1741.1     16.5         959.8     2.7
user time       12468.7     16.4       14393.0    16.8
sys  time        1825.0     54.8        2110.6    22.8

(user+sys)/real     8.2                   17.1

E.g. the build was approximately 45% faster in real time.  On machines
with less cores, or with lower -j settings, the speedup will not be as
impressive.  But at least you can now almost max out a machine with
buildworld!

Submitted by:	jilles

MFC r263833:

Enable parallel building for gnu/usr.bin and usr.bin/clang too.
</content>
</entry>
<entry>
<title>Sync sh(1) in stable/10 to head.</title>
<updated>2014-03-09T17:04:31Z</updated>
<author>
<name>Julio Merino</name>
<email>jmmv@FreeBSD.org</email>
</author>
<published>2014-03-09T17:04:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b00c4ae6073c11ac05773be0c0766527ccfbecea'/>
<id>urn:sha1:b00c4ae6073c11ac05773be0c0766527ccfbecea</id>
<content type='text'>
This is a MFC of all the commits listed below.

My original goal of this change was to only merge the move of the tests
from tools/regression/bin/ into the new layout (which include tests for
sh(1) and other tools as well).  However, doing so is tricky due to the
ongoing work in sh(1) and, especially, the many changes to its tests
since stable/10 was first branched.

Merging everything is the simplest way to achieve this goal and, as a
bonus point, we get various fixes and miscellaneous improvements into
the branch.

Per jilles' suggestion, I'm avoiding the merge of a couple of changes
(r256850 and r257506) that required depending kernel changes.  I'm also
avoiding very recent changes that have not had a long enough time to be
validated in current.

This is "make tinderbox" clean.

r256735	sh: Remove one syscall when waiting for a foreground job.
r257399	sh: Allow trapping SIGINT/SIGQUIT after ignore because of '&amp;'.
r257504	sh: Reorder union node to reduce its size on 64-bit platforms.
r257920	sh: Add a test case for would-be assignments that are not due to quoting.
r257929	sh: Properly quote alias output from command -v.
r258489	sh: Add tests for the &lt;/dev/null implicit in a background command.
r258533	sh: Add more tests for the &lt;/dev/null implicit in a background command.
r258535	sh: Make &lt;&amp;0 disable the &lt;/dev/null implicit in a background command.
r258776	sh: Prefer memcpy() to strcpy() in most cases. Remove the scopy macro.
r259047	sh: Split set -x output into a separate function.
r259210	Migrate tools/regression/bin/ tests to the new layout.
r259844	sh: Remove an unused variable.
r259846	sh: Initialize OPTIND=1 even if it came from the environment.
r259874	sh: Simplify code related to PPID variable.
r259946	sh: Don't check input for non-whitespace if history is disabled.
r260246	sh(1): Discourage use of -e.
r260506	Run the sh(1) and test(1) tests as unprivileged.
r260586	Mark the bin/pax tests as requiring perl.
r260634	Use TAP_TESTS_PERL to register the legacy_test in bin/pax.
r260635	Replace hand-crafted Kyuafiles with automatic generation.
r260654	sh: Remove SIGWINCH handler and just check for resize before every read.
r261121	sh: Add test for nested alias.
r261125	sh: Solve the alias recursion problem in a less hackish way.
r261141	sh: Do not depend on parse/execute split in new alias test.
r261160	sh: Add tests for alias names after another alias.
r261192	sh: Allow aliases to force alias substitution on the following word.
r262533	sh: Make expari() static.
r262565	sh: Do not corrupt internal representation if LINENO inner expansion fails.
r262697	sh: Simplify expari().

Reviewed by:	jilles
</content>
</entry>
<entry>
<title>By popular demand, move freebsd-version(1) from /libexec to /bin.</title>
<updated>2013-10-09T20:47:20Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2013-10-09T20:47:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5f3850777ee8731079cf7e375a90c10ec7a12058'/>
<id>urn:sha1:5f3850777ee8731079cf7e375a90c10ec7a12058</id>
<content type='text'>
Approved by:	re (gjb)
</content>
</entry>
<entry>
<title>Merge from tbemd:</title>
<updated>2010-09-13T01:29:51Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2010-09-13T01:29:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9768ccae056d693c0ab571a02d16d57ce8785c88'/>
<id>urn:sha1:9768ccae056d693c0ab571a02d16d57ce8785c88</id>
<content type='text'>
Add directory names directly and sort at the end.
Include bsd.arch.inc.mk so we can, in the future, more easily make arch
dependent changes in /bin (unlikely, but is needed for symmetry).
</content>
</entry>
<entry>
<title>Add pwait utility, which waits for any process to terminate.</title>
<updated>2009-11-17T22:47:20Z</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2009-11-17T22:47:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0e5e4167809165c2be4f8ddd88aa8a4084c7e02d'/>
<id>urn:sha1:0e5e4167809165c2be4f8ddd88aa8a4084c7e02d</id>
<content type='text'>
This is similar to the Solaris utility of the same name.

Some use cases:
* rc.subr's wait_for_pids
* interactive use, e.g. to shut down the computer when some task is done
  even if the task is already running

Discussed on:	hackers@
</content>
</entry>
<entry>
<title>pkill(1) first appeared in /usr/bin, but later it was moved to /bin</title>
<updated>2008-08-31T14:27:59Z</updated>
<author>
<name>Yaroslav Tykhiy</name>
<email>ytykhiy@gmail.com</email>
</author>
<published>2008-08-31T14:27:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=21be3b318337f81324d33fcdd361482058b9bafb'/>
<id>urn:sha1:21be3b318337f81324d33fcdd361482058b9bafb</id>
<content type='text'>
for the convenience of rc.d.  Now it has happily lived there for quite
a while.  So move the pkill(1) source files from usr.bin to bin, too.

Approved by:	gad
</content>
</entry>
<entry>
<title>uuidgen has been repo-copied from usr.bin/ to bin/ to match its "new"</title>
<updated>2008-03-13T17:38:06Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2008-03-13T17:38:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8757b00e1e06595ab72330e703f78b601a8e1c2c'/>
<id>urn:sha1:8757b00e1e06595ab72330e703f78b601a8e1c2c</id>
<content type='text'>
(2007/04/09) installation location.
</content>
</entry>
<entry>
<title>Reimplementation of world/kernel build options.  For details, see:</title>
<updated>2006-03-17T18:54:44Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2006-03-17T18:54:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e1fe3dba5ce2826061f6489765be9b4a341736a9'/>
<id>urn:sha1:e1fe3dba5ce2826061f6489765be9b4a341736a9</id>
<content type='text'>
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
</content>
</entry>
<entry>
<title>Wrap BSD r* commands in NO_RCMDS.</title>
<updated>2005-03-02T11:53:22Z</updated>
<author>
<name>Tom Rhodes</name>
<email>trhodes@FreeBSD.org</email>
</author>
<published>2005-03-02T11:53:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c71158d45355ad344b90b42af22dc619f06114b0'/>
<id>urn:sha1:c71158d45355ad344b90b42af22dc619f06114b0</id>
<content type='text'>
Change NO_RCMDNS to NO_RCMDS and do the switch in bsd.compat.mk.

Discussed with: ru, nectar
</content>
</entry>
<entry>
<title>- Build things in pure dictionary order (see sort(1)).</title>
<updated>2004-01-16T15:23:19Z</updated>
<author>
<name>Ruslan Ermilov</name>
<email>ru@FreeBSD.org</email>
</author>
<published>2004-01-16T15:23:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d10a8d6cb46f77ccd63cf37f82c482bfc73c915e'/>
<id>urn:sha1:d10a8d6cb46f77ccd63cf37f82c482bfc73c915e</id>
<content type='text'>
- Unify the conditional assignments section so that architectural
  exclusions come first, then options and !options, sorted by the
  option name, also in directory order, then architecture specific
  sections, sorted by the architecture name, with i386 being a
  traditional exception.

Prodded by:	bde
</content>
</entry>
</feed>
