[BuildTools-tickets] Re: [BuildTools] #2: Compiling with lapack and blas

BuildTools coin-trac at coin-or.org
Wed Nov 15 13:30:43 EST 2006


#2: Compiling with lapack and blas
------------------------+---------------------------------------------------
Reporter:  fmargot      |        Owner:  andreasw  
    Type:  enhancement  |       Status:  assigned  
Priority:  major        |    Component:  component1
 Version:               |   Resolution:            
Keywords:  lapack       |  
------------------------+---------------------------------------------------
Comment (by lou):

 In the macros COIN_HAS_BLAS and COIN_HAS_LAPACK, there is a subtle typo in
 the call to AC_COIN_TRY_FLINK for the *-sun-* case. Misplaced '],' means
 that sunperf isn't added to ADDLIBS. Here's a diff (line numbers are off
 because of some other local changes in my coin.m4).
 {{{
 @@ -2170,8 +2177,8 @@
        LIBS="-xlic_lib=sunperf $LIBS"
        AC_COIN_TRY_FLINK([daxpy],
                 [AC_MSG_RESULT([yes])
 -                use_blas='-xlic_lib=sunperf'],
 -                ADDLIBS="-xlic_lib=sunperf $ADDLIBS"
 +                use_blas='-xlic_lib=sunperf'
 +                ADDLIBS="-xlic_lib=sunperf $ADDLIBS"],
                 [AC_MSG_RESULT([no])
                  LIBS="$SAVE_LIBS"])
        ;;
 @@ -2272,8 +2279,8 @@
          LIBS="-xlic_lib=sunperf $LIBS"
          AC_COIN_TRY_FLINK([dsyev],
                   [AC_MSG_RESULT([yes])
 -                  use_lapack='-xlic_lib=sunperf'],
 -                  ADDLIBS="-xlic_lib=sunperf $ADDLIBS"
 +                  use_lapack='-xlic_lib=sunperf'
 +                  ADDLIBS="-xlic_lib=sunperf $ADDLIBS"],
                   [AC_MSG_RESULT([no])
                    LIBS="$SAVE_LIBS"])
          ;;
 }}}

-- 
Ticket URL: <https://projects.coin-or.org/BuildTools/ticket/2#comment:2>
BuildTools <http://projects.coin-or.org/BuildTools>
Tools for configuring and compiling COIN-OR codes



More information about the BuildTools-tickets mailing list