| 1 | #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash |
| 2 | # |
| 3 | source "$(dirnamescip-shell system . . dirname. "$0")/get-script-header.sh" |
| 4 | |
| 5 | GLPK_DIR="$DEPS_DIR/glpk-cut-log" |
| 6 | commit=b420454e732f4b3d229c552ef7cd46fec75fe65c |
| 7 | |
| 8 | check_dep_dir "$GLPK_DIR" |
| 9 | setup_dep \ |
| 10 | "https://github.com/timothy-king/glpk-cut-log/archive/$commit.tar.gz" \ |
| 11 | "$GLPK_DIR" |
| 12 | cd "$GLPK_DIR" |
| 13 | |
| 14 | libtoolizescip-shell system . . libtoolize. |
| 15 | aclocalscip-shell system . . aclocal. |
| 16 | autoheaderscip-shell system . . autoheader. |
| 17 | autoconfscip-shell system . . autoconf. |
| 18 | automakescip-shell system . . automake. --add-missing |
| 19 | |
| 20 | ./configure --without-pic --prefix="$INSTALL_DIR" --disable-shared --enable-static --disable-dependency-tracking |
| 21 | makescip-shell system . . make. install -j$(nprocscip-shell system . . nproc.) |
| 22 | makescip-shell system . . make. distclean |
| 23 | mvscip-shell system . . mv. "$INSTALL_LIB_DIR/libglpk.a" "$INSTALL_LIB_DIR/libglpk-static.a" |
| 24 | |
| 25 | ./configure --with-pic --prefix="$INSTALL_DIR" --disable-shared --enable-static --disable-dependency-tracking |
| 26 | makescip-shell system . . make. install -j$(nprocscip-shell system . . nproc.) |
| 27 | |
| 28 | echoscip-shell system . . echo. |
| 29 | echoscip-shell system . . echo. ===================== Now configure CVC4 with ===================== |
| 30 | echoscip-shell system . . echo. ./configure.sh --gpl --glpk |