blob: 379d75df1d299c63aaa61b647e632496e5a756b1 (
plain)
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"
if [ -e cryptominisat5 ]; then
echo 'error: file or directory "cryptominisat5" exists; please move it out of the way.' >&2
exit 1
fi
version="5.6.3"
webget https://github.com/msoos/cryptominisat/archive/$version.tar.gz cryptominisat-$version.tar.gz
tar xfvz cryptominisat-$version.tar.gz
rm cryptominisat-$version.tar.gz
mv cryptominisat-$version cryptominisat5
cd cryptominisat5
mkdir build
cd build
cmake -DENABLE_PYTHON_INTERFACE=OFF \
-DSTATICCOMPILE=ON \
-DNOM4RI=ON \
..
make libcryptominisat5 -j$(nproc)
echo
echo ===================== Now configure CVC4 with =====================
echo ./configure.sh --cryptominisat
|