-
Notifications
You must be signed in to change notification settings - Fork 78
/
holtest_parallel
executable file
·42 lines (38 loc) · 1.21 KB
/
holtest_parallel
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
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
#######################################################################
# Load in a bunch of examples to test HOL Light is working properly
#
# This script attempts to distribute the tests over available cores
# and should be faster in many cases than the sequential "holtest".
#
# Try examining the output using something like
#
# egrep -i '###|error in|not.found' /tmp/hollog_*/holtest.log
#
# to see progress and whether anything has gone wrong.
#
# You might first want to install the necessary external tools,
# for instance with
#
# aptitude install prover9 coinor-csdp pari-gp libocamlgraph-ocaml-dev
#
#######################################################################
set -e
if which hol-light > /dev/null ; then
hollight=hol-light
elif type ckpt > /dev/null; then
make clean; make hol
(cd Mizarlight; make clean; make)
hollight=./hol
else
make clean; make
(cd Mizarlight; make clean; make)
hollight=./hol.sh
fi
make -j $(getconf _NPROCESSORS_ONLN) "HOLLIGHT=$hollight" SHELL=bash \
-f holtest.mk all
# Remove "#"s in the follwing lines to build the proof-recording version
#
# echo '### Building proof-recording version';
# cd Proofrecording/hol_light
# make clean; make hol