File: makeall.sh

package info (click to toggle)
scip 10.0.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 76,156 kB
  • sloc: ansic: 716,600; cpp: 41,095; awk: 9,195; sh: 4,918; makefile: 4,044; python: 2,076; perl: 731; xml: 660; java: 314; php: 24; lisp: 15
file content (31 lines) | stat: -rwxr-xr-x 576 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env bash
#
# This scripts compiles SCIP for all LP solver for which the links exit
#

MAKEFLAG=$1

LPSS=(cpx spx xprs msk clp grb qso)
OPTS=(opt dbg prf)

# check if zimpl is available
if test -e lib/include/zimplinc/zimpl
then
    ZIMPL=true
else
    ZIMPL=false
fi

for OPT in ${OPTS[@]}
do
    make OPT=$OPT ZIMPL=$ZIMPL LPS=none  $@

    for LPS in ${LPSS[@]}
    do
        # check if the header for the LP solver are available
        if test -e lib/$LPS"inc"
        then
            make LPS=$LPS OPT=$OPT ZIMPL=$ZIMPL $MAKEFLAG $@
        fi
    done
done