https://github.com/JacquesCarette/hol-light
Tip revision: b27a524086caf73530b7c2c5da1b237d3539f143 authored by Jacques Carette on 24 August 2020, 14:18:07 UTC
Merge pull request #35 from sjjs7/final-changes
Merge pull request #35 from sjjs7/final-changes
Tip revision: b27a524
holtest_parallel
#!/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="ocaml -init hol.ml"
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