lib/Tools/ghc
changeset 69267 517655a528fe
parent 69265 bd215c56cd96
equal deleted inserted replaced
69266:7cc2d66a92a6 69267:517655a528fe
     3 # Author: Makarius
     3 # Author: Makarius
     4 #
     4 #
     5 # DESCRIPTION: invoke Glasgow Haskell Compiler within the Isabelle environment
     5 # DESCRIPTION: invoke Glasgow Haskell Compiler within the Isabelle environment
     6 
     6 
     7 if [ -d "$ISABELLE_STACK_ROOT" -a -n "$ISABELLE_GHC" ]; then
     7 if [ -d "$ISABELLE_STACK_ROOT" -a -n "$ISABELLE_GHC" ]; then
     8   isabelle_stack ghc --resolver "$ISABELLE_STACK_RESOLVER" --compiler "$ISABELLE_GHC_VERSION" -- "$@"
     8   isabelle_stack ghc -- "$@"
     9 else
     9 else
    10   echo "Cannot execute ghc: missing Isabelle GHC setup" >&2
    10   echo "Cannot execute ghc: missing Isabelle GHC setup" >&2
    11   exit 127
    11   exit 127
    12 fi
    12 fi