From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <13426df10706151415s3f523d95x7256f098bdab9a7@mail.gmail.com> Date: Fri, 15 Jun 2007 14:15:48 -0700 From: "ron minnich" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [9fans] a quick and simple minded study of configure. Topicbox-Message-UUID: 7f288d9a-ead2-11e9-9d60-3106f5b1d025 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