lib/scripts/ghc
author wenzelm
Sun, 15 Jun 2025 22:46:45 +0200
changeset 82720 956ecf2c07a0
parent 69949 a7a0115061ec
permissions -rwxr-xr-x
more flexible ML_Settings in Isabelle/Scala, depending on system options and some default settings; update polyml-5.9.1-1: only settings;

#!/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