From 914d0286c450d065eb82006f0ae96f4c0c66ee88 Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 29 Oct 2008 19:06:56 +0000 Subject: [PATCH] Sort Trilinos libs by dependency. This is necessary for static linking. git-svn-id: https://svn.dealii.org/trunk@17398 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/common/Make.global_options.in | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/deal.II/common/Make.global_options.in b/deal.II/common/Make.global_options.in index 98d58d959b..f409e8bc2d 100644 --- a/deal.II/common/Make.global_options.in +++ b/deal.II/common/Make.global_options.in @@ -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 = \ -- 2.39.5