lib/Tools/ghc_setup
author haftmann
Sat, 20 Apr 2019 18:02:21 +0000
changeset 70187 2082287357e6
parent 69930 b5286c564861
permissions -rwxr-xr-x
avoid separate type class for mere definitional extension

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