Page MenuHomeFreeBSD

Parallelize building lib/ncurses
ClosedPublic

Authored by ngie on Dec 22 2014, 5:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 28, 8:19 AM
Unknown Object (File)
Jan 9 2024, 3:31 PM
Unknown Object (File)
Dec 31 2023, 8:25 AM
Unknown Object (File)
Dec 31 2023, 8:25 AM
Unknown Object (File)
Dec 28 2023, 7:22 PM
Unknown Object (File)
Dec 19 2023, 9:56 PM
Unknown Object (File)
Nov 30 2023, 11:18 AM
Unknown Object (File)
Nov 19 2023, 4:53 AM
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).