misc: update settings file for Isabelle2019

Changes:
- Isabelle2017 compat for output heaps is now removed.
- We no longer select x86_64 as the ML_PLATFORM; the new default
  x86_64_32 platform is generally superior.
- We still select ML_PLATFORM for Isabelle2018 compat.
This commit is contained in:
Japheth Lim 2019-05-30 15:55:57 +10:00 committed by Matthew Brecknell
parent 32a3ebba1c
commit 992cc15725
1 changed files with 15 additions and 15 deletions

View File

@ -14,30 +14,30 @@
init_components "$USER_HOME/.isabelle/contrib" "$ISABELLE_HOME/Admin/components/main"
init_components "$USER_HOME/.isabelle/contrib" "$ISABELLE_HOME/Admin/components/bundled"
# 64 bit setup for large C proofs:
if [ -n "$ML_HOME" ]
then
ML_OPTIONS="-H 2000"
ML_PLATFORM="$ISABELLE_PLATFORM64"
ML_HOME="$(dirname ${ML_HOME})/$ML_PLATFORM"
# For Isabelle2018 and earlier, select the 64 bit ML runtime.
# Note: you also need this for Isabelle2019, if your proof session
# runs into the 16GB memory limit for the default runtime.
if echo "$ML_SYSTEM" | grep -q 'polyml-5\.7.*'
then
ML_PLATFORM=$ISABELLE_PLATFORM64
ML_OPTIONS="-H 2000 --maxheap 20000 --stackspace 64"
ML_HOME=$(dirname "$ML_HOME")/$ML_PLATFORM
else
# 10GB should be enough, even for large C proofs
ML_OPTIONS="-H 1000 --maxheap 10000 --stackspace 64"
fi
fi
# increased memory settings for large builds
# Also increase memory for Java and Scala frontends.
ISABELLE_BUILD_JAVA_OPTIONS="-Xms2048m -Xmx6096m -Xss4m"
JEDIT_JAVA_OPTIONS="-Xms128m -Xmx4096m -Xss4m"
# Heap input locations. We have a unique set of heap files for each copy of
# Isabelle the user has checked out, so that users can have multiple sessions
# running at the same time without too many problems.
USER_HEAPS=${OVERRIDE_USER_HEAPS:-"$ISABELLE_HOME_USER/heaps-${L4V_ARCH}${ISABELLE_HOME//\//-}"}
ISABELLE_OUTPUT=${OVERRIDE_ISABELLE_OUTPUT:-"$USER_HEAPS"}
ISABELLE_PATH=${OVERRIDE_ISABELLE_PATH:-"$USER_HEAPS"}
ISABELLE_BROWSER_INFO=${OVERRIDE_ISABELLE_BROWSER_INFO:-"$ISABELLE_HOME_USER/browser_info"}
# show brackets in jEdit
# Show bracket syntax for implications
ISABELLE_JEDIT_OPTIONS="-m brackets"
# Everyone most likely wants ARM
# By default, build proofs for ARM version of seL4
: ${L4V_ARCH:="ARM"}
# --- end L4.verified repository settings ---