lib/Tools/ghc_setup
author paulson <lp15@cam.ac.uk>
Tue, 30 Apr 2019 13:01:22 +0100
changeset 70216 40f19372a723
parent 69930 b5286c564861
permissions -rwxr-xr-x
A bit of de-applying

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