lib/Tools/build
changeset 62833 29dfa2ed9343
parent 62832 c1410bcf6e87
child 62834 970cedec9748
equal deleted inserted replaced
62832:c1410bcf6e87 62833:29dfa2ed9343
     1 #!/usr/bin/env bash
       
     2 #
       
     3 # Author: Makarius
       
     4 #
       
     5 # DESCRIPTION: build and manage Isabelle sessions
       
     6 
       
     7 isabelle_admin_build jars || exit $?
       
     8 
       
     9 case "$ISABELLE_JAVA_PLATFORM" in
       
    10   x86-*)
       
    11     ISABELLE_BUILD_JAVA_OPTIONS="$ISABELLE_BUILD_JAVA_OPTIONS32"
       
    12     ;;
       
    13   x86_64-*)
       
    14     ISABELLE_BUILD_JAVA_OPTIONS="$ISABELLE_BUILD_JAVA_OPTIONS64"
       
    15     ;;
       
    16 esac
       
    17 
       
    18 eval "declare -a JAVA_ARGS=($ISABELLE_BUILD_JAVA_OPTIONS)"
       
    19 
       
    20 exec isabelle java "${JAVA_ARGS[@]}" isabelle.Build "$@"