lib/Tools/ghc_setup
author haftmann
Fri, 24 Mar 2023 18:30:17 +0000
changeset 77703 0262155d2743
parent 69930 b5286c564861
permissions -rwxr-xr-x
more uniform approach towards satisfied applications

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: setup Glasgow Haskell Compiler via Stack

set -e

isabelle_stack setup
isabelle_stack ghc -- --version
echo -n "$(standard_path "$(isabelle_stack path --compiler-exe)")" > "$ISABELLE_STACK_ROOT/ISABELLE_GHC_EXE-$ISABELLE_PLATFORM_FAMILY"