9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] a quick and simple minded study of configure.
@ 2007-06-15 21:15 ron minnich
  2007-06-15 21:18 ` Francisco J Ballesteros
  2007-06-15 21:23 ` Rob Pike
  0 siblings, 2 replies; 10+ messages in thread
From: ron minnich @ 2007-06-15 21:15 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Plan 9 ports is portable to many systems. I did the following very
stupid command:
wc `find . -print  | egrep
'Darwin|freebsd|FreeBSD|linux|Linux|power|386|NetBSD|OpenBSD|SunOS'`

I.e. just wc all the files that have  a name that looks in any way os
or architecture dependent.

Note how unfair this is. It may count the same file twice, it counts
CVS, and so on. Very, very unfair.

Sum:
  11219   34549  240528 total

Now, two popular MPIs:
first, LAM
rminnich@xcpu lam-7.1.3]$ wc ./configure
  45815  164201 1362823 ./configure

Yes, that is not a typo: 45KLOC. The configure script is about 4x the
size of ALL the portability support in p9p. Makefiles are around 1029
lines. Most of that is configure goo.

For openmpi, a popular mpi:
[rminnich@xcpu openmpi-1.2.2]$ wc configure
 152939  581569 5028307 configure
[rminnich@xcpu openmpi-1.2.2]$ wc Makefile
 1541  5368 62023 Makefile
[rminnich@xcpu openmpi-1.2.2]$

Yes, 153KLOC of shell script for the configure. A factor of 3 growth
over the one done four years ago for LAM.

Yow. The generated makefiles average about 1500 lines. The configure
scripts take about 5 minutes to run.

I know we have some faculty on this list. Please talk to your students :-)

This is nuts.

ron


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-06-18  2:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-15 21:15 [9fans] a quick and simple minded study of configure ron minnich
2007-06-15 21:18 ` Francisco J Ballesteros
2007-06-15 21:23 ` Rob Pike
2007-06-16  1:18   ` David Leimbach
2007-06-16  4:39     ` Skip Tavakkolian
2007-06-16  5:58       ` Bruce Ellis
2007-06-16 15:34       ` David Leimbach
2007-06-17  7:06         ` Martin Neubauer
2007-06-17 23:58           ` Uriel
2007-06-18  2:25             ` David Leimbach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).