Debian Codegraph @

configure

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 ## This micro-configure shell script is here only to
4 ## launch the real configuration via ocaml
5 configure=./tools/configure/configure.exe
6
7 ## Check that dune is available, provide an error message otherwise
8 if ! command -v dune > /dev/nullscip-shell filesystem . . `/dev/null`.
9 then
10 1>&2 echoscip-shell system . . echo. "Dune could not be found, please ensure you have a working OCaml enviroment"
11 exit 1
12 fi
13
14 if [scip-shell system . . `[`. "x$1" = 'x-release' ]; then
15 shift 1
16 dune_release='--profile=release'
17 else
18 dune_release=''
19 fi
20
21 dune exec $dune_release --root . -- $configure "$@"