octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

linking order for suitesparse


From: Marco Atzeri
Subject: linking order for suitesparse
Date: Fri, 28 Aug 2009 13:49:31 +0000 (GMT)

Hi,
building on last hg source I stumbled on
makeconf.in


## FIXME -- does order matter here?
SPARSE_LIBS = \
  $(AMD_LIBS) $(CAMD_LIBS) $(COLAMD_LIBS) \
    $(CCOLAMD_LIBS) $(CHOLMOD_LIBS) $(CXSPARSE_LIBS) \
    $(UMFPACK_LIBS)

at least on cygwin, it does matter and this order

-lcholmod -lumfpack  -lamd -lcamd -lcolamd -lccolamd -lcxsparse
 
works. So it should be:

SPARSE_LIBS = \
    $(CHOLMOD_LIBS) $(UMFPACK_LIBS) \
    $(AMD_LIBS) $(CAMD_LIBS) $(COLAMD_LIBS) \
    $(CCOLAMD_LIBS) $(CXSPARSE_LIBS)


Regards
Marco


      




reply via email to

[Prev in Thread] Current Thread [Next in Thread]