COIN-OR::LEMON - Graph Library

Changeset 747:a42f46828cc1 in lemon-main


Ignore:
Timestamp:
10/05/09 09:48:57 (15 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Add soplex support to scripts/bootstrap.sh plus...
it checks whether cbc and soplex are installed at the given prefix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/bootstrap.sh

    r732 r747  
    4747augment_config COIN_OR_PREFIX /usr/local/coin-or \
    4848    "# COIN-OR installation root prefix (used for CLP/CBC)"
     49
     50augment_config SOPLEX_PREFIX /usr/local/soplex \
     51    "# Soplex build prefix"
    4952
    5053
     
    100103cxx_flags="CXXFLAGS=-ggdb$opt_flags$werror_flags"
    101104
    102 if yesorno "Use COIN" "n"
    103 then
    104     coin_flag="--with-coin=$COIN_OR_PREFIX"
     105if [ -f ${COIN_OR_PREFIX}/include/coin/config_coinutils.h ]; then
     106    if yesorno "Use COIN-OR (CBC/CLP)" "n"
     107    then
     108        coin_flag="--with-coin=$COIN_OR_PREFIX"
     109    else
     110        coin_flag=""
     111    fi
    105112else
    106     coin_flag=""
     113    coin_flag=""       
    107114fi
    108115
     116if [ -f ${SOPLEX_PREFIX}/src/soplex.h ]; then
     117    if yesorno "Use Soplex" "n"
     118    then
     119        soplex_flag="--with-soplex=$SOPLEX_PREFIX"
     120    else
     121        soplex_flag=""
     122    fi
     123else
     124    soplex_flag=""
     125fi
    109126
    110127if [ "x$AUTORE" == "xyes" ]; then
     
    114131"$cxx_flags" \
    115132$coin_flag \
     133$soplex_flag \
    116134$*
Note: See TracChangeset for help on using the changeset viewer.