Macuyiko / cbc-msys2

MSYS2 shell scripts to compile COIN-OR CBC for Windows platforms

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cbc-msys2

MSYS2 shell scripts to compile COIN-OR CBC for Windows platforms

  1. download-prerequisites.sh: Downloads CBC, CBC trunk, swigwin, and OpenBLAS (modify this script to change versions)
  2. inflate-prerequisites.sh: Extract and move prerequisites to separate source folder
  3. compile-openblas: Compile OpenBLAS
  4. compile-cbc.sh: Compile CBC (trunk or release) with or without OpenBLAS, in shared or static form. The former will produce DLLs
  5. compile-jcbc.sh: Compile jCbc with or without OpenBLAS, needs a statically compiled CBC

do-all-*.sh <srcdir> <builddir> <deploydir> can be used to compile OpenBLAS, compile CBC statically, compile jCBC, and compile CBC shared libraries (CBC trunk is not used). Assumes a Java 7 JDK present. Both 64 and 32 bit versions can be compiled (important: make sure to run under the correspondig MSYS2 shell for 32 or 64 bit compilation and to download and inflate the prequisites first to set up the source folder).

Make sure compiler tools are installed:

pacman -S --needed \
  base-devel \
  mingw-w64-i686-toolchain mingw-w64-i686-cmake \
  mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake \
  unzip svn

More information:

About

MSYS2 shell scripts to compile COIN-OR CBC for Windows platforms


Languages

Language:Shell 94.3%Language:Python 5.7%