gravatar
alpar (Alpar Juttner)
alpar@cs.elte.hu
Add soplex support to scripts/bootstrap.sh plus... it checks whether cbc and soplex are installed at the given prefix.
0 1 0
default
1 file changed with 22 insertions and 4 deletions:
↑ Collapse diff ↑
Show white space 6 line context
... ...
@@ -49,2 +49,5 @@
49 49

	
50
augment_config SOPLEX_PREFIX /usr/local/soplex \
51
    "# Soplex build prefix"
52

	
50 53

	
... ...
@@ -101,9 +104,23 @@
101 104

	
102
if yesorno "Use COIN" "n"
103
then
104
    coin_flag="--with-coin=$COIN_OR_PREFIX"
105
if [ -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
105 112
else
106
    coin_flag=""
113
    coin_flag=""        
107 114
fi
108 115

	
116
if [ -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
123
else
124
    soplex_flag=""
125
fi
109 126

	
... ...
@@ -115,2 +132,3 @@
115 132
$coin_flag \
133
$soplex_flag \
116 134
$*
0 comments (0 inline)