lib/scripts/ghc
changeset 69949 a7a0115061ec
parent 69929 b979e3044d8e
equal deleted inserted replaced
69948:a591de179931 69949:a7a0115061ec
     2 #
     2 #
     3 # Author: Makarius
     3 # Author: Makarius
     4 #
     4 #
     5 # Invoke ghc via "stack".
     5 # Invoke ghc via "stack".
     6 
     6 
     7 if [ -e "$ISABELLE_STACK_ROOT/config.yaml" ]; then
     7 if [ -f "$ISABELLE_STACK_ROOT/ISABELLE_GHC_EXE-$ISABELLE_PLATFORM_FAMILY" ]
       
     8 then
     8   isabelle_stack ghc -- "$@"
     9   isabelle_stack ghc -- "$@"
     9 else
    10 else
    10   echo "Cannot execute ghc: missing Isabelle GHC setup" >&2
    11   echo "Cannot execute ghc: missing Isabelle GHC setup" >&2
    11   exit 127
    12   exit 127
    12 fi
    13 fi