File: get-glpk-cut-log

package info (click to toggle)
cvc4 1.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 69,876 kB
  • sloc: cpp: 274,686; sh: 5,833; python: 1,893; java: 929; lisp: 763; ansic: 275; perl: 214; makefile: 22; awk: 2
file content (30 lines) | stat: -rwxr-xr-x 824 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
#!/usr/bin/env bash
#
source "$(dirname "$0")/get-script-header.sh"

GLPK_DIR="$DEPS_DIR/glpk-cut-log"
commit=b420454e732f4b3d229c552ef7cd46fec75fe65c

check_dep_dir "$GLPK_DIR"
setup_dep \
  "https://github.com/timothy-king/glpk-cut-log/archive/$commit.tar.gz" \
  "$GLPK_DIR"
cd "$GLPK_DIR"

libtoolize
aclocal
autoheader
autoconf
automake --add-missing

./configure --without-pic --prefix="$INSTALL_DIR" --disable-shared --enable-static --disable-dependency-tracking
make install -j$(nproc)
make distclean
mv "$INSTALL_LIB_DIR/libglpk.a" "$INSTALL_LIB_DIR/libglpk-static.a"

./configure --with-pic --prefix="$INSTALL_DIR" --disable-shared --enable-static --disable-dependency-tracking
make install -j$(nproc)

echo
echo ===================== Now configure CVC4 with =====================
echo ./configure.sh --gpl --glpk