Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] faster autogen.sh
From: Ralf Wildenhues (Ralf.Wildenhues_at_[hidden])
Date: 2009-05-27 00:11:30


As part of a shameless advertising move I suggest this patch.
While it won't make autogen.sh exactly fast, for me it shaves
half a minute off its runtime.

Cheers,
Ralf

HACKING: recommend parallel automake 1.11 execution.

Index: HACKING
===================================================================
--- HACKING (revision 21262)
+++ HACKING (working copy)
@@ -197,7 +197,15 @@
 
    Running autogen.sh may take several minutes. It's not very
    exciting to watch. :-)
+ If you have an SMP system, say with 4 processors, be sure to use
+ Automake 1.11 or newer and enable threaded execution before running
+ autogen.sh (you can again put this in your shell startup files):
 
+ # For bash/sh:
+ export AUTOMAKE_JOBS=4
+ # For csh/tcsh:
+ set AUTOMAKE_JOBS 4
+
    5a. You generally need to run autogen.sh whenever the top-level
        file "configure.ac" changes, or any files in the config/
        directory change (the config/ directory is where a lot of