]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Sort Trilinos libs by dependency. This is necessary for static linking.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 29 Oct 2008 19:06:56 +0000 (19:06 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 29 Oct 2008 19:06:56 +0000 (19:06 +0000)
git-svn-id: https://svn.dealii.org/trunk@17398 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/Make.global_options.in

index 98d58d959bd69fb5400c58006e3c1ab1a08a7e22..f409e8bc2d53da196023dd989e0ea2a6c1d2ae08 100644 (file)
@@ -218,25 +218,31 @@ endif
 ifeq ($(USE_CONTRIB_TRILINOS),yes)
   INCLUDE += -I$(include-path-trilinos)
 
-  DEAL_II_TRILINOS_LIBS = amesos \
+  # List all trilinos libraries that we want to link with. These must be sorted
+  # in dependency order to allow for static linking where the order on the
+  # command line matters. Note that we check the availability of all these
+  # libraries in aclocal.m4; the two lists should therefore be kept in
+  # sync.
+  DEAL_II_TRILINOS_LIBS = \
+               stratimikosamesos \
+               stratimikosaztecoo \
+               stratimikosifpack \
+               stratimikosml \
+               stratimikos \
+               ml \
+               amesos \
                 aztecoo \
                belos \
-               epetra \
-               epetraext \
                ifpack \
-               ml \
                rtop \
                sacado \
-               stratimikos \
-               stratimikosamesos \
-               stratimikosaztecoo \
-               stratimikosifpack \
-               stratimikosml \
                teuchos \
                thyra \
                thyraepetra \
                thyraepetraext \
-               triutils 
+               epetraext \
+               epetra \
+               triutils
 
   ifeq ($(enable-shared),yes)
     lib-contrib-trilinos = \

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.