COIN-OR::LEMON - Graph Library

Changeset 850:e77b621e6e7e in lemon-main for scripts


Ignore:
Timestamp:
03/01/10 07:51:45 (15 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
856:5df6a8f29d5e, 860:930ddeafdb20
Phase:
public
Message:

Configurable glpk prefix in ./scripts/bootstrap.sh and ...
unneeded solver backends are explicitely switched off with --without-*

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/bootstrap.sh

    r794 r850  
    4444augment_config LEMON_INSTALL_PREFIX /usr/local \
    4545    "# LEMON installation prefix"
     46
     47augment_config GLPK_PREFIX /usr/local/ \
     48    "# GLPK installation root prefix"
    4649
    4750augment_config COIN_OR_PREFIX /usr/local/coin-or \
     
    110113fi
    111114
     115if [ -f ${GLPK_PREFIX}/include/glpk.h ]; then
     116    if yesorno "Use GLPK" "y"
     117    then
     118        glpk_flag="--with-glpk=$GLPK_PREFIX"
     119    else
     120        glpk_flag="--without-glpk"
     121    fi
     122else
     123    glpk_flag="--without-glpk"       
     124fi
     125
    112126if [ -f ${COIN_OR_PREFIX}/include/coin/config_coinutils.h ]; then
    113127    if yesorno "Use COIN-OR (CBC/CLP)" "n"
     
    115129        coin_flag="--with-coin=$COIN_OR_PREFIX"
    116130    else
    117         coin_flag=""
     131        coin_flag="--without-coin"
    118132    fi
    119133else
    120     coin_flag=""       
     134    coin_flag="--without-coin"       
    121135fi
    122136
     
    126140        soplex_flag="--with-soplex=$SOPLEX_PREFIX"
    127141    else
    128         soplex_flag=""
     142        soplex_flag="--without-soplex"
    129143    fi
    130144else
    131     soplex_flag=""
     145    soplex_flag="--without-soplex"
    132146fi
    133147
     
    138152$valgrind_flags \
    139153"$cxx_flags" \
     154$glpk_flag \
    140155$coin_flag \
    141156$soplex_flag \
Note: See TracChangeset for help on using the changeset viewer.