Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

From: Ralf Wildenhues (Ralf.Wildenhues_at_[hidden])
Date: 2005-11-15 10:08:14

* Ralph H. Castain wrote on Tue, Nov 15, 2005 at 03:45:26PM CET:
> At 07:33 AM 11/15/2005, you wrote:
> >
> >Would it help if only the change not to build a convenience archive in
> >orte/dps would be reverted? You could then
> > cd orte
> > make dps/
> >
> >and would only have to issue the link command for manually
> >(to override rebuilding all other files that depend on dps.h). This
> >change has very little impact on overall autogen/build execution time.
> Your proposed change would help a great deal - thanks! Can you steer
> me through the change?

Sure. Make sure to have automake installed, apply the patch below,
then `make' should cause the Makefiles to be rebuilt.

For building/testing, I'd do as above:
  cd orte
  make dps/

To now recreate without triggering all other stuff:
If you happen to use GNU make, you could use this hack (warning!
hack! do not ever do this for non-debug builds!)
  make -t
This just touches everything, so the next run of make will believe
everything to be up to date. (You need a "make clean" to undo this
when you really want everything updated.)

Then, to recreate liborte, you do
  ../libtool --mode=clean rm -f

(In most but not all cases, the former can be replaced by "rm -f"). Hope that helps.


Index: orte/dps/
--- orte/dps/ (revision 8159)
+++ orte/dps/ (working copy)
@@ -24,7 +24,8 @@
         dps/dps_types.h \
-liborte_la_SOURCES += \
+noinst_LTLIBRARIES += dps/
+dps_libdps_la_SOURCES = \
         dps/dps_internal_functions.c \
         dps/dps_load_unload.c \
         dps/dps_lookup.c \
Index: orte/
--- orte/ (revision 8159)
+++ orte/ (working copy)
@@ -33,6 +33,7 @@
 liborte_la_SOURCES =
 liborte_la_LIBADD = \
+ dps/ \
         $(MCA_orte_FRAMEWORK_LIBS) \
 liborte_la_DEPENDENCIES = $(liborte_la_LIBADD)