Page MenuHomeFreeBSD

Parallelize building lib/ncurses
ClosedPublic

Authored by ngie on Dec 22 2014, 5:03 PM.
Tags
None
Referenced Files
F106652657: D1353.diff
Fri, Jan 3, 10:21 AM
Unknown Object (File)
Dec 3 2024, 5:01 PM
Unknown Object (File)
Dec 3 2024, 4:59 PM
Unknown Object (File)
Dec 3 2024, 4:57 PM
Unknown Object (File)
Nov 29 2024, 7:28 AM
Unknown Object (File)
Nov 29 2024, 7:28 AM
Unknown Object (File)
Nov 28 2024, 2:30 PM
Unknown Object (File)
Nov 28 2024, 2:30 PM
Subscribers
None

Details

Summary

Parallelize building lib/ncurses

MFC after: 1 week

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

ngie retitled this revision from to Parallelize building lib/ncurses.
ngie updated this object.
ngie added reviewers: ian, imp.

I had done the same thing (with more typing and less .for) a few months ago, but never committed it because there was other parallel build trouble at the time and I didn't want to muddy things.

I notice when I did it I made ncursesw depend on ncurses. I don't remember whether I was certain that was required or was just being extra-careful.

In D1353#3, @ian wrote:

I had done the same thing (with more typing and less .for) a few months ago, but never committed it because there was other parallel build trouble at the time and I didn't want to muddy things.

I notice when I did it I made ncursesw depend on ncurses. I don't remember whether I was certain that was required or was just being extra-careful.

I considered doing that as well for a brief while, but then I remembered that ncursesw .include's ncurses's Makefile, so there isn't a build race with the generated files if the directories are built in the correct process (obj -> depend -> all -> install).

$ pwd
/usr/src.svn/lib/ncurses/ncurses
$ make -V.PATH
. /usr/src.svn/lib/ncurses/ncurses /usr/src.svn/lib/ncurses/ncurses/../../../contrib/ncurses/include /usr/src.svn/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/base /usr/src.svn/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tinfo /usr/src.svn/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tty /usr/src.svn/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/trace
ngie updated this revision to Diff 2894.

Closed by commit rS276320 (authored by @ngie).