equal
deleted
inserted
replaced
587 """ |
587 """ |
588 rm -f "$OUTPUT" |
588 rm -f "$OUTPUT" |
589 "$ISABELLE_PROCESS" \ |
589 "$ISABELLE_PROCESS" \ |
590 -e 'use """ + quote(ml_root) + """ handle _ => OS.Process.exit OS.Process.failure;' \ |
590 -e 'use """ + quote(ml_root) + """ handle _ => OS.Process.exit OS.Process.failure;' \ |
591 -e "ML_Heap.share_common_data (); ML_Heap.save_state \"$OUTPUT\";" \ |
591 -e "ML_Heap.share_common_data (); ML_Heap.save_state \"$OUTPUT\";" \ |
592 -q RAW_ML_SYSTEM && chmod -w "$OUTPUT" |
592 -q RAW_ML_SYSTEM |
593 """ |
593 """ |
594 } |
594 } |
595 else { |
595 else { |
596 """ |
596 """ |
597 rm -f "$OUTPUT" |
597 rm -f "$OUTPUT" |
598 "$ISABELLE_PROCESS" \ |
598 "$ISABELLE_PROCESS" \ |
599 -e '(use """ + quote(ml_root) + """; use "ROOT.ML") handle _ => OS.Process.exit OS.Process.failure;' \ |
599 -e '(use """ + quote(ml_root) + """; use "ROOT.ML") handle _ => OS.Process.exit OS.Process.failure;' \ |
600 -e "Command_Line.tool0 (fn () => (Session.finish (); Options.reset_default (); Session.shutdown (); ML_Heap.share_common_data (); ML_Heap.save_state \"$OUTPUT\"));" \ |
600 -e "Command_Line.tool0 (fn () => (Session.finish (); Options.reset_default (); Session.shutdown (); ML_Heap.share_common_data (); ML_Heap.save_state \"$OUTPUT\"));" \ |
601 -q RAW_ML_SYSTEM && chmod -w "$OUTPUT" |
601 -q RAW_ML_SYSTEM |
602 """ |
602 """ |
603 } |
603 } |
604 } |
604 } |
605 else if (do_output) |
|
606 """ |
|
607 rm -f "$OUTPUT" |
|
608 "$ISABELLE_PROCESS" -e "Build.build \"$ARGS_FILE\";" -q "$INPUT" && chmod -w "$OUTPUT" |
|
609 """ |
|
610 else |
605 else |
611 """ |
606 """ |
612 rm -f "$OUTPUT" |
607 rm -f "$OUTPUT" |
613 "$ISABELLE_PROCESS" -e "Build.build \"$ARGS_FILE\";" -q "$INPUT" |
608 "$ISABELLE_PROCESS" -e "Build.build \"$ARGS_FILE\";" -q "$INPUT" |
614 """) + |
609 """) + |