lib/scripts/ghc
author wenzelm
Tue, 07 Mar 2023 10:57:50 +0100
changeset 77554 4465d9dff448
parent 69949 a7a0115061ec
permissions -rwxr-xr-x
clarified terminology of "session build database", while "build database" is the one underlying Build_Process;

#!/usr/bin/env bash
#
# Author: Makarius
#
# Invoke ghc via "stack".

if [ -f "$ISABELLE_STACK_ROOT/ISABELLE_GHC_EXE-$ISABELLE_PLATFORM_FAMILY" ]
then
  isabelle_stack ghc -- "$@"
else
  echo "Cannot execute ghc: missing Isabelle GHC setup" >&2
  exit 127
fi