How to use the build.sh script in the scripts directory - aik7/Boosting GitHub Wiki
Arguments for scripts/build.sh
:
-d true # Enable the debugging mode to compile PEBBL, RMA, and Boosing
-g true # Enable the Gurobi compiling option
-p false # Do not compile PEBBL
-r false # Do not call the RMA build script, so do not compile PEBBL and RMA
The following commands are some examples of using scripts/build.sh
with and without the arguments
sh sctipts/build.sh # compile Boosting with PEBBL, RMA, and CLP in the release mode
sh scripts/build.sh -d true # compile Boosting with PEBBL, RMA, and CLP in the debug mode
sh scripts/build.sh -g true # compile Boosting with PEBBL, RMA, CLP and Gurobi in the release mode
sh scripts/build.sh -d true -g true # compile Boosting with PEBBL, RMA, CLP, and Gurobi in the debug mode
-
CLP is no longer installed if it already exists in the
external
directory. -
Gurobi is no longer downloaded if it already exists in the
external
directory or you setGUROBI_HOME
in the.bashrc
file. -
The release or debug mode does not apply to the CLP and Gurobi packages.
-
For the current implementation, you always have to have CLP, and Gurobi can be an optional.