Mirabelle appears to work better in single-threaded mode;
authorwenzelm
Mon, 24 Sep 2012 15:37:58 +0200
changeset 49549 3b0a60eee56e
parent 49548 8192dc55bda9
child 49550 0a82e98fd4a3
Mirabelle appears to work better in single-threaded mode;
src/HOL/Mirabelle/lib/scripts/mirabelle.pl
--- a/src/HOL/Mirabelle/lib/scripts/mirabelle.pl	Mon Sep 24 14:22:07 2012 +0200
+++ b/src/HOL/Mirabelle/lib/scripts/mirabelle.pl	Mon Sep 24 15:37:58 2012 +0200
@@ -157,7 +157,7 @@
 if ($output_log) { print "Mirabelle: $thy_file\n"; }
 
 my $result = system "\"$ENV{'ISABELLE_PROCESS'}\" " .
-  "-e 'Unsynchronized.setmp quick_and_dirty true use_thy \"$path/$new_thy_name\" handle _ => exit 1;\n' -q $mirabelle_logic" . $quiet;
+  "-e 'Unsynchronized.setmp Multithreading.max_threads 1 (Unsynchronized.setmp quick_and_dirty true use_thy) \"$path/$new_thy_name\" handle _ => exit 1;\n' -q $mirabelle_logic" . $quiet;
 
 if ($output_log) {
   my $outcome = ($result ? "failure" : "success");