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
[EMAIL PROTECTED] 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:
[EMAIL PROTECTED] openmpi-1.2.2]$ wc configure
152939  581569 5028307 configure
[EMAIL PROTECTED] openmpi-1.2.2]$ wc Makefile
1541  5368 62023 Makefile
[EMAIL PROTECTED] 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

Reply via email to